ADO » Record » ParentURL

Version: 2.5

Syntax:
string = recordobject.ParentURL

Returns a string value that is the absolute URL of the record in the Record object.

The ParentURL property returns a string that is the absolute URL of the parent Record. An absolute URL is the path to the location of a resource on the Internet/Intranet.

This property will return a null if there is no parent for the object or if the Record object cannot be represented by a URL.

Examples

Code:
strURL = objRecord.ParentURL
If IsNull(strURL) Then
   MsgBox "Parent URL is null", vbOK
End If

See Also: