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

String field containing characters 0-9 only

Status
Not open for further replies.

ehk

Technical User
Sep 17, 2003
30
US
Crystal 8.5
Datasource: Advantage SQL

Can you please tell me how to select records that contain only numbers within the field {Payldgr.Invoice} which is String/10?

I would like to exclude any invoices containing characters other than 0-9. Valid records can contain any combination of numbers in varying lengths, representing patient account numbers.

Thanks,

Ellen
 
In your record selection formula:

Isnumeric({YourField})

The above will only return strings that are all numbers, no spaces, letters, punctuation marks, etc. allowed.

Software Sales, Training, Implementation and Support for Macola, eSynergy, and Crystal Reports
 
Thanks so much for the quick response. That's exactly what I need.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top