Defining a Button Field
Use this procedure to define a field that will appear as a button on a form.
-
On the Format form, put the cursor where you want
the button field, press Input (F2), and choose Command Button.
In this field Type or Select (F4) Command ID The name for the button. The name does not have be unique.
This is the name that appears in the button field when you run the form.
Transfer Form The form ID for the program or form to which you want to enable a transfer.
When you run the program, press Define (F6) or Detail (F5) on the button field to transfer you to the selected form.
-
Press OK.
Note: You do not have to label a button field. If you label the field, the system uses the Command Id name. Therefore, when you run the form, the button name appears on the form twice.