LOTUSSCRIPT/COM/OLE CLASSES


Examples: Open method
1. This script opens the first database found on the current computer (local machine if the script runs on a workstation, server if the script runs on a server).
2. This LotusScript agent opens each database in the AddressBooks property of NotesSession. The NotesDatabase variable, book, must be treated as a Variant to be used as an AddressBooks element.
3. This Visual Basic code opens each database in the AddressBooks property of NotesSession. The NotesDatabase variable, book, must be treated as a Variant to be used as an AddressBooks element.
4. This script opens the SALES.NSF database on the server HongKong.
5. This script tests for the existence of a specific database. You have a script that archives documents from one database to an archive database. If the archive database doesn't exist, the script creates it; otherwise, the script opens it.
See Also