Let's test the form even further by using it to enter some information. We'll start it from the Database Explorer.
To run the form and add a row of data:
1. | In the Database Explorer, click the Forms option. |
2. | Select "EmployeeForm". |
3. | Click the "Run Form" option. |
The "Run Form" dialog box is displayed so that you can choose to start the form and either "Enter", "Edit", or "Browse" table data.
4. | Select the "Enter" option. |
5. | Click the OK button. |
R:BASE displays the form ready for you to enter information. The field for Employee # is already filled in. Because the column is an auto numbered column, R:BASE enters the next available number for the employee number automatically. If you hover the mouse cursor over the Enhanced DB Navigator control, a hint will appear for each button. The "-1" value is displayed in the record box as the row has not yet been added to the table.
Let's enter a row of data into the database. Use your own name, address, and phone.
You can move from field to field in the form. Press [Shift]+[Tab] to move to the previous field, or press [Tab] to move to the next field.
6. | After entering the phone number, choose the select the button with a check mark on it. The hint is "Save" |
R:BASE stores the row of information in the database.
7. | Select the "Close Window" button on the DB Navigator to close the form. |