CurrentProject Property

Microsoft Access Visual Basic

CurrentProject Property

       

You can use the CurrentProject property to access the CurrentProject object and its related collections, properties, and methods. Read-only CurrentProject object.

expression.CurrentProject

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

Setting

The CurrentProject property setting contains a reference to the CurrentProject for the current code database.

This property is available only by using Visual Basic and is read-only.

Remarks

Use the CurrentProject property to refer to one of the following current database collections together with one of its properties or methods.

AllForms AllReports
AllDataAccessPages AllMacros
AllModules AccessObjectProperties