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!

Show If Value Starts With A Number Otherwise Put N/A

Status
Not open for further replies.

katrina63

Technical User
Aug 14, 2001
3
US
Can anyone tell me how to write this expression either in a query or in a report? In this particular field there is data that begins with text and others that begin with a number. I need the expression to show the fields with numbers and the ones that have text in them to show N/A.

Any help would be greatly appreciated.
 
Hi
How about (?)
=IIf(IsNumeric(Left([MyField],1)),[MyField],"N/A")
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top