LOTUSSCRIPT/COM/OLE CLASSES
Opens a database. A database must be open in order to access all its properties and methods. For details on accessing the properties and methods of a database, see the Usage section in NotesDatabase.
Note COM supports the Open method only as a Sub with no parameters. To open a database with parameters in COM, see OpenDatabase in NotesDbDirectory. LotusScript supports the Open method only with parameters.
Defined in
NotesDatabase
Syntax
Note The following syntax is for LotusScript.
flag = notesDatabase.Open( server$, dbfile$ )
Note The following syntax is for COM.
Call notesDatabase.Open()
Parameters
server$
Use the Open method as follows:
db.Open( "", "" )
The script returns an error if you try to reassign its server or file name using Open.
You need at least Reader access to a database to call Open. An error is returned if you do not have access.
Language cross-reference
open method in Java Database class
@DbExists in formula language
Example See Also