Passing parameters to a form
We can pass parameters to a form to pass data that can help us to perform actions based upon that data. In this case, we want to add a parameter which passes in the
PERSON_ID. If the parameter is populated with a value, we do not want to call the query screen. In this recipe, we are going to perform the following tasks:
- Creating a parameter
- Bypassing the query find screen
- Testing the form
- Testing the form with the
PERSON_IDparameter passed in
Creating a parameter
We are now going to create a parameter in our form so that we can pass
PERSON_ID into the form. This will allow us to call the form from another form and automatically query back an employee record.
How to do it...
To create a parameter, perform the following tasks: ...