LOTUSSCRIPT/COM/OLE CLASSES
Returns the first database on a server (or local computer), using the file type you specify.
Defined in
NotesDbDirectory
Syntax
Set notesDatabase = notesDbDirectory.GetFirstDatabase( fileType% )
Parameters
fileType%
NOTES_DATABASE (1247) for COM
notesDatabase
Each time you call this method, the database directory is reset and a new search is conducted. If you're searching for template files, for example, a new call to GetFirstDatabase with the parameter DATABASE (LotusScript) or NOTES_DATABASE (COM) will start searching the directory from the beginning, this time for database files.
Language cross-reference
getFirstDatabase method in Java DbDirectory class
Example See Also