How to query for an *

J

JamesSF

Hello

I need to remove about 20,000 records from a table that has ** in the last 2
digits of a 10 digit number.

since * is also the wildcard, how can i select or filter for any record that
end with **?

thanks in advance
james
 
R

RoyVidar

JamesSF wrote in message said:
Hello

I need to remove about 20,000 records from a table that has ** in the last 2
digits of a 10 digit number.

since * is also the wildcard, how can i select or filter for any record that
end with **?

thanks in advance
james

Place the wildcards in [brackets]

Where somefield like "*[**]"
 
J

JamesSF

perfect guys - thanks!


RoyVidar said:
JamesSF wrote in message said:
Hello

I need to remove about 20,000 records from a table that has ** in the
last 2 digits of a 10 digit number.

since * is also the wildcard, how can i select or filter for any record
that end with **?

thanks in advance
james

Place the wildcards in [brackets]

Where somefield like "*[**]"
 
J

John Spencer

Use one of the following criteria

Like "*[*][*]"

or

Field: LastTwo: Right([NumberField],2)
Criteria: "**"
 

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