how to find a single question mark ? in a field data

J

John W. Vinson

how can I serach for ? (question mark) in a field data

Since ? is a wildcard matching any character, you must "insulate" it with
brackets:

LIKE "*[?]*"


John W. Vinson [MVP]
 
B

box2003

You could use the VB InStr function.
InStr([start, ]string1, string2[, compare])

google instr for more info or msdn.


John W. Vinson said:
how can I serach for ? (question mark) in a field data

Since ? is a wildcard matching any character, you must "insulate" it with
brackets:

LIKE "*[?]*"


John W. Vinson [MVP]
 
Top