Character Query

  • Thread starter Thread starter KIMA06
  • Start date Start date
K

KIMA06

I have a file that I need to query that has names of cities in a particular
field. I need to find all cities that have more than 4 characters in its
name. Thanks in advance.
 
KIMA06 said:
I have a file that I need to query that has names of cities in a particular
field. I need to find all cities that have more than 4 characters in its
name. Thanks in advance.


WHERE Len([NameOfField]) > 4

If the value may be null, you might need to modify that to something like
.....

WHERE Len([NameOfField] & "") > 4
 

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

Back
Top