CurrentProject Object Members

Access Developer Reference

The CurrentProject object refers to the project for the current Microsoft Access project (.adp) or Access database.

Methods

  Name Description
Bb257372.methods(en-us,office.12).gif CloseConnection You can use the CloseConnection method to close the current connection between the CurrentProject object in a Microsoft Access project (.adp) or Access database and the database specified in the project's base connection string.
Bb257372.methods(en-us,office.12).gif OpenConnection You can use the OpenConnection method to open an ADO connection to an existing Microsoft Access project (.adp) or Access database as the current Access project or database in the Microsoft Access window.
Bb257372.methods(en-us,office.12).gif UpdateDependencyInfo Updates the dependency information for the database.

Properties

  Name Description
Bb257372.properties(en-us,office.12).gif AccessConnection You can use the AccessConnection property to return a reference to the current Microsoft ActiveX Data Objects (ADO) Connection object and its related properties. Read-only Connection.
Bb257372.properties(en-us,office.12).gif AllForms You can use the AllForms property to reference the AllForms collection and its related properties. Read-only AllForms object.
Bb257372.properties(en-us,office.12).gif AllMacros You can use the AllMacros property to reference the AllMacros collection and its related properties. Read-only AllMacros object.
Bb257372.properties(en-us,office.12).gif AllModules You can use the AllModules property to reference the AllModules collection and its related properties. Read-only AllModules object.
Bb257372.properties(en-us,office.12).gif AllReports You can use the AllReports property to reference the AllReports collection and its related properties. Read-only AllReports object.
Bb257372.properties(en-us,office.12).gif Application You can use the Application property to access the active Microsoft Access Application object and its related properties. Read-only Application object.
Bb257372.properties(en-us,office.12).gif BaseConnectionString You can use the BaseConnectionString property to return the base connection string for the specified object. Read-only String.
Bb257372.properties(en-us,office.12).gif Connection You can use the Connection property to return a reference to the current ActiveX Data Objects (ADO) Connection object and its related properties. Read-only Connection.
Bb257372.properties(en-us,office.12).gif FileFormat Returns an AcFileFormat constant indicating the Microsoft Access version format of the specified project. Read-only.
Bb257372.properties(en-us,office.12).gif FullName Sets or returns the full path (including file name) of a specific object. Read-only String.
Bb257372.properties(en-us,office.12).gif ImportExportSpecifications Returns a ImportExportSpecifications collection that represents the collection of saved import or export operations for the specified object. Read-only.
Bb257372.properties(en-us,office.12).gif IsConnected You can use the IsConnected property to determine if the CurrentProject object is currently connected. Read-only Boolean.
Bb257372.properties(en-us,office.12).gif IsTrusted Gets whether or not macros and Visual Basic for Applications (VBA) code have been enabled in the current project. Read-only Boolean.
Bb257372.properties(en-us,office.12).gif Name You can use the Name property to determine the string expression that identifies the name of an object. Read-only String.
Bb257372.properties(en-us,office.12).gif Parent Returns the parent object for the specified object. Read-only.
Bb257372.properties(en-us,office.12).gif Path You can use the Path property to determine the location where data is stored for a Microsoft Access project (.adp) or Microsoft Access database. Read-only String.
Bb257372.properties(en-us,office.12).gif ProjectType You can use the ProjectType property to determine the type of project that is currently open. Read-only AcProjectType.
Bb257372.properties(en-us,office.12).gif Properties Returns a reference to a CurrentProject object's AccessObjectProperties collection. Read-only.
Bb257372.properties(en-us,office.12).gif RemovePersonalInformation Returns or sets a Boolean indicating whether personal information about the user is stored in the specified project. True if personal information is removed. Read-write.