D
DV
I'm attempting to pass a value from a sub-form to a query. In the field
criteria I have the following:
Forms![xfrm Research Database Subform]![SYSTEM].
When I attempt to run the query from using a command button, the query can't
find the value of the SYSTEM field above. The field is a combo box.
I get a "enter Parameter Value" pop-up with the label- Forms!xfrm Research
Database prompting me for input. This is the name of the form that the
subform from above is linked to.
I even tried passing a value from the main form "xfrm Research Database" as
a test, and had similar results.
The funny thing is that if I enter a valid value for "SYSTEM" the query will
run as expected, but I obviously want to pick the value direct from the form.
criteria I have the following:
Forms![xfrm Research Database Subform]![SYSTEM].
When I attempt to run the query from using a command button, the query can't
find the value of the SYSTEM field above. The field is a combo box.
I get a "enter Parameter Value" pop-up with the label- Forms!xfrm Research
Database prompting me for input. This is the name of the form that the
subform from above is linked to.
I even tried passing a value from the main form "xfrm Research Database" as
a test, and had similar results.
The funny thing is that if I enter a valid value for "SYSTEM" the query will
run as expected, but I obviously want to pick the value direct from the form.