I have a report that has one sub-report within it. I have a textbox in the Detail section of the report that I want to pass in to my sub-report and use within it's "record source" sql query. I've tried several different things but am unsure how to accomplish this. I've searched a good bit and have come up short as well. Trying to use "textbox50" in the WHERE clause.
Code:
SELECT dbo_MIBORD.opCode, dbo_MIBORD.milestone
FROM dbo_MIBORD
WHERE (((dbo_MIBORD.milestone)=True) AND ((dbo_MIBORD.bomItem)=[Me]![text50]));