wlasner
asked on
Define a parameter query to ask for a selection but return all records if left blank
Microsoft Access 2016
I want to define a parameter query to ask for a selection but return all records if left blank.
I am using Like [Enter Location] .... this works fine. but there are times I want to run the report for all locations.
I tried like [Enter Location] or Like * but this did not work.
Any suggestions would be greatly appreciated.
thanks
Wayne
I want to define a parameter query to ask for a selection but return all records if left blank.
I am using Like [Enter Location] .... this works fine. but there are times I want to run the report for all locations.
I tried like [Enter Location] or Like * but this did not work.
Any suggestions would be greatly appreciated.
thanks
Wayne
You want Like "*" & [Enter Location:] & "*"
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Worked perfect.
Thank you
Thank you