Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

check length of string

Status
Not open for further replies.

waymond

Programmer
Mar 1, 2005
118
US
I need to run a query that will show all the data that the length is greater than 4 for one field.

than in another query I need to show will the length of the string is 4

thank you
 
Add another column with the field value as:

MyLen:len([thefieldname])

and put
>4
in the criteria cell.

Use your own field name for 'thefieldname'

Do the same in the second query but just set the criteria value to 4.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top