MaxRecButton Property

Microsoft Access Visual Basic

MaxRecButton Property

       

You can use the MaxRecButton property to specify or determine if the maximum record limit button is available on the navigation bar of a form in Datasheet view or Form view. This property is only available for forms within a Microsoft Access project (.adp). Read/write Boolean.

expression.MaxRecButton

expression   Required. An expression that returns one of the objects in the Applies To list.

Remarks

The MaxRecButton property uses the following settings.

Setting Visual Basic Description
Yes True  (Default) The maximum record limit button is available to the user.
No False The maximum record limit button is unavailable to the user.
You can set this property by using the property sheet, or Visual Basic.

Example

This example makes the maximum record limit button on the "Order Entry" form unavailable to the user.

Forms("Order Entry").MaxRecButton = False