LOTUSSCRIPT/COM/OLE CLASSES


Open method
Example

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$


dbfile$
Return value
Usage

Use the Open method as follows:


Access level to a database

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