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

CurrentProject.Path Property (Access)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

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.

Syntax

expression. Path

expression A variable that represents a CurrentProject object.

Remarks

You can 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 &; "." 

See also

Concepts

CurrentProject Object

© 2017 Microsoft