CodeProject.Path property (Access)

Use the Path property to determine the location where data is stored for a Microsoft Access project (.adp) or Access database. Read-only String.

Syntax

expression.Path

expression A variable that represents a CodeProject object.

Remarks

Use the Path property to determine the location of information stored through the CurrentProject or CodeProject objects of a project or database.

Example

The following example displays a message indicating the disk location of the current Access project or database.

MsgBox "The current database is located at " & Application.CurrentProject.Path & "." 
 

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.