[Stackoverflow] [Progress OpenEdge ABL] how to apply last key from a program itself without requiring a user input? - PROGRESS 4GL

Status
Not open for further replies.
B

Bharat

Guest
In some cases I need my program to perform the automatic keys apply from the program itself. I dont want a user to give or press any keys. It should be automatic when it reaches some conditions. I am using below query which requires input from the user. Please help to modify.

Code:
/*some conditions here..now its not required user input*/
case keyfunction(lastkey):
  when {&KEY-END} then
    undo RPT-SETTING-LOOP, next SOURCE-DB-LOOP.
  when {&KEY-GO} or when {&KEY-RETURN} then
    leave RPT-SETTING-LOOP.
 end case.

Continue reading...
 
Status
Not open for further replies.
Top