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

AccessObject.IsLoaded Property (Access)

office 365 dev account|Last Updated: 1/23/2018
4 Contributors

You can use the IsLoaded property to determine if an AccessObject is currently loaded. Read-only Boolean.


expression. IsLoaded

expression A variable that represents an AccessObject object.


The IsLoaded property uses the following settings.

SettingVisual BasicDescription
YesTrueThe specified AccessObject is loaded.
NoFalseThe specified AccessObject is not loaded.


The following example shows how to prevent a user from opening a particular form directly from the navigation pane.

Sample code provided by: The Microsoft Access 2010 Programmer's Reference

'Don't let this form be opened from the Navigator
If Not CurrentProject.AllForms(cFormUsage).IsLoaded Then
    MsgBox "This form cannot be opened from the Navigation Pane.", _
        vbInformation + vbOKOnly, "Invalid form usage"
    Cancel = True
    Exit Sub
End If

About the contributors

Wrox Press is driven by the Programmer to Programmer philosophy. Wrox books are written by programmers for programmers, and the Wrox brand means authoritative solutions to real-world programming problems.

See also

AccessObject Object

© 2018 Microsoft