Character Query

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.
 
B

Brendan Reynolds

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
 
Top