‎2007 Jan 05 1:01 PM
Hi,
i have a field <b>Amount</b> of type <b>Dec</b> in that i will enter currency amount.
To this field i am fetching data from file. in that file instead of currency data text data is available to that field.
in coding logic by <b>if</b> condition how to check the content is string or numeric?
so that we can avoid filling the field if it is a string.
regards,
Ratna
‎2007 Jan 05 1:03 PM
use Fm
<b>Numeric_check</b> .
in the export parameters
HTYPE returns NUMC or CHAR for the entry .
make use of this logic.
hope this helps
regards,
vijay
‎2007 Jan 05 1:03 PM
use Fm
<b>Numeric_check</b> .
in the export parameters
HTYPE returns NUMC or CHAR for the entry .
make use of this logic.
hope this helps
regards,
vijay
‎2007 Jan 05 1:04 PM
‎2007 Jan 05 1:07 PM
u can also try this...
if v_text CO '0123456789'.
*it is a number.
else.
*it is string.
endif.