on 03-26-2010 10:23 AM
Hello Everyone,
i have a serial number which has been defined in global defination of smartforms as STRING .
The serial number can be numeric , alphabet or alphanumeric .
when it is numeric , then it displays numbers as 000000000011112345 .
so what i have done is i used the function 'ABS' .
This function works fine when the serial number is numeric but it gives a short dump when the serial number is alphabet or alphanumeric .
any suggestions gurus .
sumit
Hi
Store all characters in a string say
and check the following condition.
c1 = 'abcdefghijklmnopqrstuvwxyz'
if var1 ca c1.
<do nothing>
else
var2 = abs(var1).
endif.
Hope this helps
Thanks
Mani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
try to use the TRY CATCH statment.
Best regards
Marco
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.