I know that a subform on a main form is not a form, but is a control just like a text box etc. and the proper way to refer to it, is
To my surprise I can't get this to work, as "criteria" in a SQL query (I have a report taking data from that query).
When I open the report I get a dialog asking for [SomeID]'s value.
I am using a non-english version of Access 2007.
Code:
Forms![MyMainForm]![MySubform].Form![SomeID]
To my surprise I can't get this to work, as "criteria" in a SQL query (I have a report taking data from that query).
When I open the report I get a dialog asking for [SomeID]'s value.
I am using a non-english version of Access 2007.