Form.NavigationButtons property (Access)

Use the NavigationButtons property to specify whether navigation buttons and a record number box are displayed on a form. Read/write Boolean.

Syntax

expression.NavigationButtons

expression A variable that represents a Form object.

Remarks

The default value is True.

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.

Example

The following example returns the value of the NavigationButtons property for the Order Entry form.

Dim b As Boolean 
b = Forms("Order Entry").NavigationButtons

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.