CurrentDatabase (NotesSession - LotusScript®)

Read-only. The database in which the current script resides. This database may or may not be open.

Note: This property is not implemented in COM.

Defined in

NotesSession

Data type

NotesDatabase

Syntax

To get: Set notesDatabase = notesSession .CurrentDatabase

Usage

This property allows you to access a database without having to place its server and file name in a script. Using CurrentDatabase can make scripts more easily portable from one database to another.

Example