Example: Set Parameters for Forms

This example discusses creating adds a button to the HR Resources form that launches the PR Employees form and opens the resource’s employee number.

  1. On the Info tab in VA Custom Form Buttons, create the custom form button and select HR Resources in the Action field.
  2. On the Parameters tab, in the Parameter ID field, enter a + to create a new entry and have the system automatically assign the next available ID number.
  3. In the Name field, enter PR Employees
  4. Select 3-Form Input value from the DefaultType dropdown.
  5. In the DefaultValue field, press F4, select the field name that contains the value that the report will default in its parameter field, and select OK. In this example, select PREmp from the F4 lookup.
 The system defaults the field’s sequence number in the DefaultValue field. In this example, the sequence is 10.
  6. Save the record.
  7. Open the HR Resources form and move the button to a new location, as necessary.
  8. Click the custom form button.

The PR Employees form displays and defaults to the PR employee number specified by the PR Empl # field in HR Resources.