C
Chris
I'd like to use a form to enter the query criteria for a
complex search. If I use a form, I can then print the
search criteria the user entered at the top of the report
with the results.
I want the ability to enter a complex logical search
string in the form, with the query picking that up just as
though it were entered directly in the criteria field in
the query.
For example, the user should be able to enter a search
criteria such as:
like "*"&"fred"&"*" or like "*"&"mary"&"*" or
like "*"&"sally"&"*"
Any ideas on how to do that? I've tried entering the
following in the criteria field of the query:
[forms]![formname]![fieldname]
but that doesn't work.
Thanks for any tips...
complex search. If I use a form, I can then print the
search criteria the user entered at the top of the report
with the results.
I want the ability to enter a complex logical search
string in the form, with the query picking that up just as
though it were entered directly in the criteria field in
the query.
For example, the user should be able to enter a search
criteria such as:
like "*"&"fred"&"*" or like "*"&"mary"&"*" or
like "*"&"sally"&"*"
Any ideas on how to do that? I've tried entering the
following in the criteria field of the query:
[forms]![formname]![fieldname]
but that doesn't work.
Thanks for any tips...