‎2008 Jan 28 2:29 PM
Hi experts,
How can i convert from numeric field into non numeric field i.e) if i declare a type c and b type i.
i want to convert b to type c. how can i do ...help me please....
‎2008 Jan 28 2:31 PM
‎2008 Jan 28 2:32 PM
You can simply do a = b, or use the WRITE b TO a LEFT-JUSTIFIED.
‎2008 Jan 28 2:33 PM
Hi Manjula
use this FM : CONVERT_STRING_TO_INTEGER
else tyr using Field symbols:
field-symbols: <fs> type any.
a type c,
b type i.
assign a to <fs>
move <fs> to b.
‎2008 Jan 28 2:48 PM
hi
good
U can check like this.
codeIf string ca '0123456789'.
write: 'Numeric'.
else.
write: 'Non Numeric'.
endif.[/code]
U can use the FM NUMERIC_CHECK also.-
thanks
mrutyun^