Wild Card Search

kbreiss

Registered User.
Local time
Today, 21:06
Joined
Oct 1, 2002
Messages
228
I am having trouble using the Like statement. It won't retreive any results. However if I change the "Like" to "=" and take out the '* this query works fine.

SELECT *
FROM [DUI Speakers]
WHERE Event Like '*[Forms]![frmSchoolInfo]![txtEvent]*';

Anybody have any ideas why this wouldn't return any results?

Thanks,
Kacy
________
LovelyWendie
 
Last edited:
SELECT *
FROM [DUI Speakers]
WHERE Event Like '*'&[Forms]![frmSchoolInfo]![txtEvent]&'*';


try this

sportsguy
 
that did it....Thanks!
________
Concept X1
 
Last edited:

Users who are viewing this thread

Back
Top Bottom