N
nybaseball22
Hello. Is there a way to code a query to have it use a filter string
if a form is open, or ignore it if the filter is not open?
Example:
Query Name: Query1
Form: Form1 and Form2
Query fields: Field1 and Field2
I have a string in field 1 and 2
Forms!Form1!Field1 in the first field of the query, and Forms!Form1!
Field2 in the second field. Can I also have Forms!Form2!Field1 in the
query as well? I have tried this, but a box pops up and asks for the
information from form 2 when it is not open.
Thank you.
if a form is open, or ignore it if the filter is not open?
Example:
Query Name: Query1
Form: Form1 and Form2
Query fields: Field1 and Field2
I have a string in field 1 and 2
Forms!Form1!Field1 in the first field of the query, and Forms!Form1!
Field2 in the second field. Can I also have Forms!Form2!Field1 in the
query as well? I have tried this, but a box pops up and asks for the
information from form 2 when it is not open.
Thank you.