FullName Property

Microsoft Access Visual Basic

FullName Property

       

Sets or returns the full path (including file name) of a specific object. Read/write String for the AccessObject object; read-only String for the CodeProject and CurrentProject objects.

expression.FullName

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

Example

The following example iterates through the AllDataAccessPages collection and returns the name of the link and the path of each data access page in the current project.

Sub PrintDAPLocationInfo()

    Dim dapObject As AccessObject

    For Each dapObject In CurrentProject.AllDataAccessPages
        Debug.Print "The '" & dapObject.Name & _
        "' is located at: "; dapObject.FullName
    Next dapObject

End Sub