Your program has just one procedure, which we shall call EMP_UPDATE.
1. To insert a procedure, press the <Insert> key (pressing <Enter> twice, <L> for Link or <I> for Insert would work as well). [This will probably need changing]. The PROCEDURE LINK EDITING box appears
2. Type the name of the procedure as: EMP_UPDATE
3. Right-click on the new procedure to open the Procedure dialog
With the Procedure tab selected, type this
description:
Update records in the EMPLOYEE
table
Accept the default of EMP_UPDATE for the name of the procedure body by
clicking on OK with the mouse or cursori down to
OK and hitting <Enter>
4. QA Build suggests defaults appropriate to a data entry program, including:
Option |
Choice |
Explanation |
Procedure type |
Interactive |
allows the user to update the EMPLOYEE table interactively |
Database procedure ? |
Yes |
allows the user to update the database |
Repeated procedure ? |
Yes |
means the program repeats until a condition is met such as the user pressing <Esc> |
5. Click on OK to accept the defaults suggested.