Table of contents
TOC
Collapse the table of content
Expand the table of content

DoCmd.LockNavigationPane Method (Access)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

You can use the LockNavigationPane action to prevent users from deleting database objects that are displayed in the Navigation Pane.

Syntax

expression. LockNavigationPane( ** Lock** )

expression A variable that represents a DoCmd object.

Parameters

NameRequired/OptionalData TypeDescription
LockRequiredVariantSet to True to lock the Navigation Pane.

Remarks

Locking the Navigation Pane prevents the user from deleting database objects or cutting database objects to the clipboard. It does not prevent the user from performing any of the following operations:

  • Copying database objects to the clipboard

  • Pasting database objects from the clipboard

  • Displaying or hiding the Navigation Pane

  • Selecting different Navigation Pane organization schemes

  • Showing or hiding sections of the Navigation Pane

See also

Concepts

DoCmd Object

© 2018 Microsoft