Create a New Form Command

Use this dialog window to create a new form command.

Session
The session to which you link the form command.
Activation Type
Specifies what your form command activates. You can select the following activation types from the drop-down list. The used type names are self explanatory.
Allowed values
  • Function
  • Session
  • Business Method
  • Menu
Function/Session/Business Method/Menu
The name of the function, session, business method, or menu the form command activates.
Note: Any session you specify must exist in the development repository of the connected LN server. The function or business method must be part of the session's program script, or DAL script respectively.
Allowed values

If the activation object is a session, you must specify a session that already exists in the LN application, because you cannot create new sessions in the LN Studio.

The Browse button only applies to sessions and not to other activation objects. Use the browse functionality to select a session.
For activation objects other than Session, you do not require to select an pre-existing object. Note, however, that any specified function or business method must be part of the session's program script, or DAL script respectively.
Command Type
Specifies where the form command appears on the session's form. You can select the following command types from the drop-down list:
Allowed values
Form For all of the session's form tabs, the form command appears on the form's appropriate menu, and/or as a button on the form.
Group The form command only appears on the session's appropriate menu when a user selects the tab that includes the group you define in the Group/Field Number field.
Field The form command appears as a button on the form, behind the field whose Sequence Number you enter in the Group/Field Number field.
Print The form command appears as an option in the session's print menu.
Group / Field Number
This field specifies the group to which the form command belongs or the sequence number of the field that is linked to the form command. Whether this field specifies a group or a sequence number depends on the value you specified as the Command Type: Group or Field.
This field only applies to form commands of type 'Group' or 'Field'. The field is disabled for the other form command types ('Form' and 'Print').
For form commands of Command Type Group, select the group to which the form command belongs. The form command only appears in the session's appropriate menu when the user selects the group's tab.
For form commands of Command Type Field, select the field behind which the form command appears as a field button.
The pull down list shows the numbers and label codes of the available groups or fields.
Allowed values
To specify this field, select a value from the drop-down list.