Between...And Operator

R

Randal

I am trying to use (Between "000-00-0001" And "999-99-9998") on SSN numbers
in a text field to exclude bad SSNs with alpha characters, but it doesn't
seem to work out. Alternatively, I can look at each character individually
to test if it is (Between "0" And "9") but it is not a very clean way to do
this. Is there an easy way to test for alpha vs. number in a text field?
 
B

Brian Camire

You might use criteria like

Like "###-##-####"

on your SSN number field to select only records with valid SSN numbers.
 
R

Randal

Thanks a bunch. This works great.

Brian Camire said:
You might use criteria like

Like "###-##-####"

on your SSN number field to select only records with valid SSN numbers.
 

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