Click to See Complete Forum and Search --> : Access 97 Select * Where x LIKE "%nn%" not working


yooper
June 2nd, 2006, 04:58 PM
I'm using Access 97 to access our database, and everything is working fine except when we try to use a "LIKE" conditional. Does anyone out there have any suggestions as to why this wouldn't work? Here's the actual select statement:
SELECT * FROM [MainTbl] WHERE DiscNo LIKE "%603%"Thanks for any and all help you can offer!

Dave

hspc
June 3rd, 2006, 03:15 AM
Access uses * , ? instead of % , _
SELECT * FROM [MainTbl] WHERE DiscNo LIKE "*603*"

yooper
June 4th, 2006, 02:12 PM
Thanks! I'll give that a try at work first thing tomorrow!

Dave