string contains * - Help!

  • Thread starter Thread starter doodle
  • Start date Start date
D

doodle

windows xp,access 97



how can i check to see if a string contains an astericks?

example:

513703*4526

i can't use: Not Like "*"



thanks,

-doodle
 
windows xp,access 97



how can i check to see if a string contains an astericks?

example:

513703*4526

i can't use: Not Like "*"

You need to use brackets to make it take the wildcard literally:

NOT LIKE "*[*]*"

will find all the records which do not contain an asterisk anywhere
within the field.

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

Similar Threads

sql string 1
Google celebrates 18th birthday 0
SQL Select LIKE 6
SQL Help 5
Parameter Crosstab Chart Mixup 1
Phone System Interface 3
filter for an * 2
User Defined Data Type 4

Back
Top