troubleshooting Question

Help with wildcard in query please.

Avatar of Fritz Paul
Fritz PaulFlag for South Africa asked on
Microsoft Access
5 Comments1 Solution86 ViewsLast Modified:
I use Access 2010.
I have a combobox [Filter_Location] on a form [frm_Planting] and I want to use the value of the combobox in a query criteria. If the combobox is empty, I want all the values in the source. Otherwise I want only the values specified by the combobox.
I use the following criterium, but the problem is if the value of the combobox is 3, the query also give me values for 13, 23 etc.
Like "*" & [Forms]![frm_Planting]![Filter_Location]
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros