I have tried to supply your values in the statement....
Forms![X]![Y].Form![PO_Number]
An easy way to get this information:
In query design
Right Click on Criteria
Select Build
Select Forms
Select Loaded Forms (have your form open)
Select Main Form (+) in the folder
Select Sub Form
Select Control from next column
Paste - there is your correct syntax.
I quite often forget the correct syntax. This is an easy was to get it.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.