wildcards in SQL statements

Phil_L

Registered User.
Local time
Today, 00:11
Joined
Nov 14, 2003
Messages
22
How do i put a wildcard in the following SQL statement? I want the returned data to include every entry that includes what i type in the query, whether before it or after it. I would imagine this uses "*"

[Type]=Forms![Advanced Search Form]!Type

Cheers,

Phil_L
 
Type] Like "*" & Forms![Advanced Search Form]!Type & "*"
 
This comes up with a dialog box saying 'syntax error (missing operator) in query expression
 
the square bracket on the leftmost side I accidentally clipped...
 

Users who are viewing this thread

Back
Top Bottom