‎2006 May 17 5:44 PM
Hi,
I have a select option that I am validating a value for. If one of the values is incorrect I set the cursor to that field and send and error message. Is there a way to also highlight the incorrect value?
Dawn
‎2006 May 17 5:49 PM
‎2006 May 17 5:49 PM
‎2006 May 17 5:55 PM
‎2006 May 17 6:16 PM
Not easily - if you send an error message, the program returns directly to the selection screen.
You could change all the error messages to success messages and then AT SELECTION-SCREEN OUTPUT, you can loop at the screen and set the screen attributes of the fields in error. But you would also have to add special logic to stop processing and return to the selection screen if an error is found.
Rob