In this page we will add some navigation controls to the Client form.
The Client form (Figure 1) was created in the previous tutorial task.
Notice the navigation control at the bottom of the form.
These include go to first record, previous record, a box to select a specific record, Next record, Last record, Add new record.
Figure 1: Initial Client Form
From a User Interface (UI) perspective it is better to have obvious buttons that allow the user to move through the records in the table.
1. Drag the Form Footer bar down to expose more of the Detail area
2. Click on "Button" from the Controls in the ribbon bar
3. Drag the mouse where you want the button to go
4. The "Command Button Wizard" dialog box will appear.
Choose "Record Navigation , "Go to Next Record"
Click on [Next] button
You can choose the style of the text/image on the button (I will choose a picture)
A command button object has the prefix cmd, so call the buttom cmdNext
Click on [Finish] button, and you will have a "Next" button on your form. Change to Form view to display the form.
Add the "Go to previous" and "Add New Record" (under "Record Operations" buttons.
Note I have also added a label below each button.