Count Number of Characters

K

Kevin C.

I have a field in a database Called Agency. The Agency
number is either 8 character or 9 characters long. I
want to do different thing with the agency number but
they are dependant on the size of the Agency number. Is
there a function that can count the length of the data
entered in the Agency number field?
 
V

Van T. Dinh

Len([AgencyCode]) should return the length.

Check Access VB Help on the Len() function.
 

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