CurrentProject Members (Access)
The CurrentProject object refers to the project for the current Microsoft Access project (.adp) or Access database.
Methods
Name |
Description |
---|---|
Imports the the specified image into the database and adds it to the SharedResources collection. |
|
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. |
|
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. |
|
Updates the dependency information for the database. |
Properties
Name |
Description |
---|---|
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. |
|
You can use the AllForms property to reference the AllForms collection and its related properties. Read-only AllForms object. |
|
You can use the AllMacros property to reference the AllMacros collection and its related properties. Read-only AllMacros object. |
|
You can use the AllModules property to reference the AllModules collection and its related properties. Read-only AllModules object. |
|
You can use the AllReports property to reference the AllReports collection and its related properties. Read-only AllReports object. |
|
You can use the Application property to access the active Microsoft Access Application object and its related properties. Read-only Application object. |
|
You can use the BaseConnectionString property to return the base connection string for the specified object. Read-only String. |
|
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. |
|
Returns an AcFileFormat constant indicating the Microsoft Access version format of the specified project. Read-only. |
|
Sets or returns the full path (including file name) of a specific object. Read-only String. |
|
Returns a ImportExportSpecifications collection that represents the collection of saved import or export operations for the specified object. Read-only. |
|
You can use the IsConnected property to determine if the CurrentProject object is currently connected. Read-only Boolean. |
|
Gets whether or not macros and Visual Basic for Applications (VBA) code have been enabled in the current project. Read-only Boolean. |
|
Gets whether the database is a Web database. Read-only Boolean. |
|
You can use the Name property to determine the string expression that identifies the name of an object. Read-only String. |
|
Returns the parent object for the specified object. Read-only. |
|
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. |
|
You can use the ProjectType property to determine the type of project that is currently open. Read-only AcProjectType. |
|
Returns a reference to a CurrentProject object's AccessObjectProperties collection. Read-only. |
|
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. |
|
Gets the SharedResources collection for the specified object. Read-only SharedResources. |
|
Gets the Uniform Resource Locator (URL) of the Web site to which the database has been published. Read-only String. |