LOTUSSCRIPT/COM/OLE CLASSES


Open method
Ejemplo

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.

Nota 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

Nota The following syntax is for LotusScript.

flag = notesDatabase.Open( server$, dbfile$ )

Nota 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

Ejemplo
Véase también


Glosario
¿Desea opinar sobre la Ayuda o sobre la utilidad del producto?