Please do not use to report errors- use your regional help desk.
Please mark posts as being for RPG or RDMLX (LANSA) developer.
To subscribe by email, display this forum, scroll to the end and select ‘Subscribe Forum’.
- Posts: 259
- Joined: Tue Feb 19, 2013 1:18 am
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
DATATYPE : NUMBER
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?
- Posts: 104
- Joined: Tue Jan 10, 2017 11:26 pm
Currently there is no way to keep the leading zero when DATATYPE is Number.
We can add a new property to allow the leading zero in number. If it sounds ok for you, can you please submit an enhancement request to LANSA support?