Widcard as criteria

John S.

New member
Local time
Yesterday, 19:42
Joined
Aug 21, 2023
Messages
3
Hi,

I've just been handed a database that uses "*", Access wildcard, as data in some fields.

I need to use them as characters, and to be able to query them in or out as needed.

I've learned how this is done many years ago but I've forgot the Syntax.

Can anyone assist>?

John
 
I don't need to replace anything. Is replace a part of the syntax?

Like "*"
Or
Not like "*"

Like "[*]" ?
(use stand alone or with other criteria)
 
Go it !! - not sure you have

Like "[*]" will only find records which only populated with a single * - but in that case you would use ="*"
Not Like "[*]" will find records which have multiple characters or a single character which is not a * - in which case you would use <>"*"

in both cases, Like is not required
 

Users who are viewing this thread

Back
Top Bottom