Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Path Property [Access 2003 VBA Language Reference]

Office 2003

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

expression.Path

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

Remarks

The Path property is a string expression that is the pathname to the disk location where data is stored for an Access database.

This property is available only by using Visual Basic .

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 & "."
 

		




Show: