NavigationButtons Property [Access 2003 VBA Language Reference]
You can use the NavigationButtons property to specify whether navigation buttons and a record number box are displayed on a form. Read/write Boolean.
expression Required. An expression that returns one of the objects in the Applies To list.
The NavigationButtons property uses the following settings.
|Yes||True||(Default) The form has navigation buttons and a record number box.|
|No||False||The form doesn't have navigation buttons or a record number box.|
Navigation buttons provide an efficient way to move to the first, previous, next, last, or blank (new) record. The record number box displays the number of the current record. The total number of records is displayed next to the navigation buttons. You can enter a number in the record number box to move to a particular record.
If you remove the navigation buttons from a form and want to create your owns means of navigation for the form, you can create custom navigation buttons and add them to the form.
The following example returns the value of the Navigation Buttons property for the "Order Entry" form.
Dim b As Boolean b = Forms("Order Entry").NavigationButtons
Applies to | Form Object
See Also | BorderStyle Property