LOTUSSCRIPT/COM/OLE CLASSES
Read-only. The path and file name of a database. The file name includes the NSF extension.
Defined in
NotesDatabase
Data type
String
Syntax
To get: path$ = notesDatabase.FilePath
Usage
If the database is open and on the Notes workstation, FilePath returns the complete path (for example, C:\Notes\data\sub\db.nsf).
If the database is on a Domino server, or closed on the Notes workstation, FilePath returns the path relative to the data directory (for example, sub\db.nsf).
If the database is accessed through a directory or database link, FilePath returns the link location if the code is running locally (even if the database is on a server) so that the database appears to be where the link is. FilePath returns the actual database location if the code is running on a server (for example, a scheduled agent).
A database does not need to be open to use this property.
Language cross-reference
FilePath property in Java Database class
@DbName function in formula language
Example