Using a button to go instead of F1

Posted by Joseph Kreifels on 24-Mar-2016 13:16

I have a form and I want it to advance when user hits the button at the bottom of form after inputting the data.

Is this possible, or should I ditch the button and tell user to press F1?

I assumed it would be similar to

update [FIELDS] GO-ON (return of [BUTTON] ) with frame [FRAME] .

USING: OpenEdge 10.2B on Linux Redhat.

Posted by Joseph Kreifels on 24-Mar-2016 13:36

I solved it. I looked back to some validation examples I learned a while ago. The same technique works

 update [FIELDS] GO-ON (return) with frame a .
 
 if frame-field = [FIELD 1] then next-prompt [FIELD 2] with frame a.
 if frame-field = [FIELD 2] then next-prompt [BUTTON] with frame a.

All Replies

Posted by Joseph Kreifels on 24-Mar-2016 13:36

I solved it. I looked back to some validation examples I learned a while ago. The same technique works

 update [FIELDS] GO-ON (return) with frame a .
 
 if frame-field = [FIELD 1] then next-prompt [FIELD 2] with frame a.
 if frame-field = [FIELD 2] then next-prompt [BUTTON] with frame a.

This thread is closed