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]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top