Skip to main content

[Migrated content. Thread originally posted on 21 April 2006]

I have set up a grid with a column that needs only numeric data entered. I have set the picture of the column to 9(02) and the data type = P(02).

When the system accepts entry and saves the values I get a "1 " (numeric one and a space).

Can someone please tell me how to set up the grid so that only numerics can be entered and the leading zeros of a field is not removed?

Thanks

[Migrated content. Thread originally posted on 21 April 2006]

I have set up a grid with a column that needs only numeric data entered. I have set the picture of the column to 9(02) and the data type = P(02).

When the system accepts entry and saves the values I get a "1 " (numeric one and a space).

Can someone please tell me how to set up the grid so that only numerics can be entered and the leading zeros of a field is not removed?

Thanks
hi there !!!


try to move your cell value to a numeric field with conversion, like


MOVE CELL-DATA-VALUE TO FIELD-WS CONVERT



so if you have "'1 " in CELL-DATA-VALUE then you'll have 01 in FIELD-WS


CELL-DATA-VALUE must be x(??)
FIELD-WS must be 9(??) or 9(??)V9(??).

But, anyway, if your way to treat the grid isn't correct this help won't help. That's Logic !

Regards.