Using ERRMSG and Keyboard Shift Attribute I
Posted on 2009-03-30
The short story is: I have a couple of fields that are Input/Output type in DDS with a keyboard shift attribute of I. Can the ERRMSG keyword be used on the fields?
The long version: We want the users to select the value for two fields using a prompt window (data coming from a database). The two fields have the Keyboard Shift Attribute set to I to block any input actions except Function keys. When the user presses F4 the window pops up and they select the data for the field. The problem is, how can I make sure that they know to use F4 and only F4? Once on the screen, users try to enter text which causes the "Operator input error occurred" bell and red X to appear. The display screen does not return control to the program to allow a proper error message to be shown. Can the Keyboard Shift Attribute be used with ERRMSG?
Thank you in advance for the solution or a different approach. It is greatly appreciated.