WHEN A USER CHOOSES AN OPTION ON ONE SCREEN AND PRESSES ENTER, ANOTHER SCREEN WITH A CONTROL RECORD AND SUBFILE IS DISPLAYED.
AS IT STANDS NOW, THE USER HAS TO PRESS ENTER AGAIN BEFORE A WINDOW IS DISPLAYED STATING, "ARE YOU SURE YOU WANT TO DELETE THIS RECORD?"
IS IT POSSIBLE TO CODE A HARD RETURN IN MY RPGIV PROGRAM OR
IS IT POSSIBLE TO CODE THE SDA FOR ALL 3 DISPLAYS (CTRLRCD, SF, & WINDOW) TO APPEAR WITH ONE RETURN?
THANK YOU
Software/Hardware used:
ASKED:
March 2, 2005 11:25 AM
UPDATED:
October 20, 2009 5:03 AM
Your request is somewhat confusing:
You say that “WHEN A USER CHOOSES AN OPTION ON ONE SCREEN AND PRESSES ENTER, ANOTHER SCREEN WITH A CONTROL RECORD AND SUBFILE IS DISPLAYED.”
I assume that we are interested in the “another screen” part; or is it that the user “chooses an option (4=Delete) and presses enter”? and you show a small window requesting confirmation of the delete (maybe a Y/N field?), and they press enter (the 2nd time) on that one?
If what you are trying to do is have the user avoid the confirmation (probably a bad idea, unless the users ALWAYS press enter without thinking), then just don’t write the confirmation window at all… If that isn’t the case, how about showing the code, so we can look at it, or break down the issue a little cleaner so we can evaluate it more completely.
BTW, note how I use upper and lower case in my response, and how I can create EMPHASIS by using upper case? Try it, sure makes reading easier and allows you to convey additional information quickly.