[RPG]How to avoid Zero supress
Posted: Thu Feb 21, 2019 12:05 pm
Hi,
Our customer would like to set a limitation for a textbox element to accept only numbers.
I have acheived it with the following code:
However, it will perform zero supress automatically. So 0123 will become 123.
The customer would like to avoid this zero supress.
Is there any way to avoid it so that they can have a number with leading zero?
Best Regards,
Megumi Sawada
Our customer would like to set a limitation for a textbox element to accept only numbers.
I have acheived it with the following code:
Code: Select all
HTML('<<TBX1>>
TYPE: TEXTBOX
DATATYPE : NUMBER
VALUEFORMAT.TYPE:NUMBERTEXTFORMAT
VALUEFORMAT.SHOWSIGN:NEVER
DISPLAYFORMAT.TYPE:NUMBERTEXTFORMAT
DISPLAYFORMAT.SHOWSIGN:NEVER
') The customer would like to avoid this zero supress.
Is there any way to avoid it so that they can have a number with leading zero?
Best Regards,
Megumi Sawada