Copyright © Cloud Software Group, Inc. All Rights Reserved |
The name of the screen table field that displays the function key string.
• A screen table with a field large enough to contain the function key string must already exist.
• This tool is used together with PROCESS_FCNKEY to initialize the function key screen table with the function keys defined for a screen.
• The field MSG_INCLUDE in the FCNKEYS table determines whether the function key appears on the screen.
• The field MSG_ORDER in the FCNKEYS tables determines the order of the function keys displayed on the screen.
• The PF_KEY and NAME fields in the FCNKEYS table determine the function key number and name displayed on the screen.The rule in this example prepares a screen called NEW_EMPLOYEE for display by using FCNKEY_MSG to initialize the function key screen table. First you must define the screen NEW_EMPLOYEE. This screen should contain a screen table called FCNKEY_SPECS, which, in turn, has a field called FCNKEYS. This is where the function key string appears.When the screen appears in an application, the user sees the function keys available from the screen in the function key line.The FCNKEYS (NEW_EMPLOYEE) table displays the function keys and associated routines defines for the NEW_EMPLOYEE screen:
When CREATE_EMPLOYEE is executed, with 04334 as the EMPNO argument, the screen looks as follows:
Copyright © Cloud Software Group, Inc. All Rights Reserved |