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

hi..how could i detect if a comp-3 2

Status
Not open for further replies.

tmabrevets

Programmer
Jan 17, 2001
5
0
0
FR
hi..how could i detect if a comp-3 contains a non numeric data? Because when i move a comp-3 value into a numeric field ( pic 9() ) i have an abort "illegal decimal data" . so i think that the comp-3 contains a non numeric data.
thanks
 
Hi Brev,

Look in the index of your textbook for "class tests" or "class condition". If you don't find what you need let us know.

Jack
 
What about ...

IF MY-COMP-3-FIELD IS NUMERIC .....
 
hi,the answers didnt help me..if my-comp-3 is numerci doesnt work..still waiting for a good answer..
thanks
 
What about displaying the contents of the field to actually see why it is abending......the if numeric check should work.
s-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top