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

non-numeric error sometimes 1

Status
Not open for further replies.

dmccallum

Programmer
Jan 5, 2001
90
US
Why do I sometimes get a non-numeric error message when I use the ToNumber? My report has 12 months and sometimes month 3 and sometimes month 7 will stop the report from refreshing with that error message but not always. Sometimes the report completes.
 
dmccallum: The suggests that your data contains some alpha element. Suggest you use:

If NumericText(field)= true then ToNumber(field) else Val(field)

Should do the trick David C. Monks
david.monks@chase-international.com
Accredited Seagate Enterprise Partner
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top