I created a parameterized query which gets the Criteria from a Form like so:
When I put the form in my main form as a subform, the query cannot find the parameters correctly and prompts me to enter them in. I assume the path name needs to be changed slightly, but I can't figure out what to change it to. The main form's name is [SEB-MainPage], the subform is [SEB-OverhangCharts], and the text box it looks up is [Criteria1]. I tried:
and similar things, but got nowhere.
Any help would be greatly appreciated, thanks!
Code:
[Forms]![SEB-OverhangCharts]![Criteria1]
When I put the form in my main form as a subform, the query cannot find the parameters correctly and prompts me to enter them in. I assume the path name needs to be changed slightly, but I can't figure out what to change it to. The main form's name is [SEB-MainPage], the subform is [SEB-OverhangCharts], and the text box it looks up is [Criteria1]. I tried:
Code:
[SEB-MainPage]![SEB-OverhangCharts]![Criteria1]
Any help would be greatly appreciated, thanks!