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

Omit records by IDlength

Status
Not open for further replies.

young99

Technical User
Apr 30, 2012
2
US
is it possible to omit records from selection by the length?

An example:

ID
232
8284725
8323455
3
2242

I would like to only select records that are 7 digits long. I tried making some custom formulas but cant seem to get anything to work.
 
Use a record selection like this:

len({table.string})=7

Or if it is of number datatype, use:

len(totext({table.number},0,""))=7

-LB
 
Thank you. I always over think things. This helped out!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top