SiouxCityElvis
Programmer
I didn't know what word to search for in my RMCOBOL Language Ref Manual...
I have a screen for entry/update
I'm on the Update screen and the user selects to view/update a numeric field which I have display on line 23 for them as:
[0000012345] and their prompt is on the first 0.
But what if I want them to have the option to bring this up, but to NOT make any changes to it - in other words they don't want to update this field after all. The only thing I can do is to have them re-type the same value over the value displayed. Otherwise, it will update it with 0000000000 since the ACCEPT accepts a numeric ws field to update the record's numeric field.
I want to be able to
IF Keyboard input = TAB(or SPACEBAR)
then
Leave the field alone and maintain its current value.
Any suggestions?
I know this is probably easy, I just can't find it in the manual anywhere.
Thanks.
-David
I have a screen for entry/update
I'm on the Update screen and the user selects to view/update a numeric field which I have display on line 23 for them as:
[0000012345] and their prompt is on the first 0.
But what if I want them to have the option to bring this up, but to NOT make any changes to it - in other words they don't want to update this field after all. The only thing I can do is to have them re-type the same value over the value displayed. Otherwise, it will update it with 0000000000 since the ACCEPT accepts a numeric ws field to update the record's numeric field.
I want to be able to
IF Keyboard input = TAB(or SPACEBAR)
then
Leave the field alone and maintain its current value.
Any suggestions?
I know this is probably easy, I just can't find it in the manual anywhere.
Thanks.
-David