LOTUSSCRIPT/COM/OLE CLASSES


Examples: Opening a database
1. This example opens a database on the local machine and prints some of the properties of the database object. The user supplies the database name, which does not need the NSF extension.
2. This example opens the current database.
3. This example shows that the database represented by the object db is closed until opened with the Open method.
4. This example traverses the local databases and opens the database for which the title is specified by the user. The call to the Open method specifies null parameters because the database object already exists, having been returned by the GetFirstDatabase or GetNextDatabase method of NotesDbDirectory.
5. This example opens the user's mail database.
6. This example opens the database on the server Market for which the replica ID is the same as the local database named SALES2.
See Also