GetNextDatabase (NotesDbDirectory - LotusScript®)

Returns the next database in a directory, using the file type specified in the GetFirstDatabase method.

Defined in

NotesDbDirectory

Syntax

Set notesDatabase = notesDbDirectory .GetNextDatabase

Return value

notesDatabase

The next database located on the server. Once you exhaust the directory, returns Nothing. The database is closed. To open it, use the Open or OpenIfModified method in NotesDatabase.

Example