Widcard as criteria (1 Viewer)

John S.

New member
Local time
Today, 18:53
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
 

John S.

New member
Local time
Today, 18:53
Joined
Aug 21, 2023
Messages
3
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)
 

CJ_London

Super Moderator
Staff member
Local time
Today, 23:53
Joined
Feb 19, 2013
Messages
16,627
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

Top Bottom