Hello everybody,
I've got one more problem.
it's in a form (a screen) :
the probleme is simple : at the beginnig we used a column which was an integer so in the screen we can only enter 10 or 15 or 1000 but never 10.12 15.89 etc.. using this line :
f026 = TOTO.qte_disp, AUTONEXT, COMMENTS = "Number ?"
but the table structure have been modify and this column (qte_disp) is now a decimal 7.2.
So in the screen it is now possible to entre 10.12 15.55 etc.
So I would like to know if it's possible to block people entering decimal value.
I used this :
f026 = TOTO.qte_disp TYPE SMALLINT, AUTONEXT, FORMAT="###" , INCLUDE (0 to 999), COMMENTS = "Number ?"
now We cannot enter decimal value bye validate with enter key. But if we used arrow key we can enter decimal value even if the screen show an integer value.
So if you understand me, could you help me ? thank a lot
I've got one more problem.
it's in a form (a screen) :
the probleme is simple : at the beginnig we used a column which was an integer so in the screen we can only enter 10 or 15 or 1000 but never 10.12 15.89 etc.. using this line :
f026 = TOTO.qte_disp, AUTONEXT, COMMENTS = "Number ?"
but the table structure have been modify and this column (qte_disp) is now a decimal 7.2.
So in the screen it is now possible to entre 10.12 15.55 etc.
So I would like to know if it's possible to block people entering decimal value.
I used this :
f026 = TOTO.qte_disp TYPE SMALLINT, AUTONEXT, FORMAT="###" , INCLUDE (0 to 999), COMMENTS = "Number ?"
now We cannot enter decimal value bye validate with enter key. But if we used arrow key we can enter decimal value even if the screen show an integer value.
So if you understand me, could you help me ? thank a lot