using wildcards with a combo box

michael1p

New member
Local time
Today, 23:02
Joined
Jun 18, 2007
Messages
7
Hi

Im trying to create a query that uses a combo box as the filter criteria. However the combo box needs to use wildcards, which i would have thought would have been *[forms]![control]![combo1]*. However this doesnt seem to work, anyone know what im missing?


Cheers

Michael
 
Michael,

try this...
Code:
 LIKE (*) & [forms]![control]![combo1] & (*);
Michael, your code should also read like this...
Code:
LIKE (*) & [forms]![form name]![control name] & (*)
"combo1" IS the "control name"
 
Last edited:

Users who are viewing this thread

Back
Top Bottom