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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

restricting character lengh

Status
Not open for further replies.

ghayman73

Technical User
Jul 3, 2002
55
0
0
FR
is it possible to run a qry that will pull out all words that have more than 25 charaters.

i have tried this in the criteria of the qry.

Len([keyword])>25

but with no luck. any ides how to solve this i have used this before but on a form and it worked fine.

thanks Grant
 
create an expression field for each field that you want to test, and use the Len() function for each one, and then enter >25 for the Criteria Row for each of these expression fields, just don't place the >25 on the same row for each of these fields because it will become and AND statement instead of an OR statement

Exp1: Len(YourFieldName)


PaulF
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top