LOTUSSCRIPT/COM/OLE CLASSES

FilePath property
Example

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).

FilePath returns the server name when both of these cases are true:


The format is:
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