LOTUSSCRIPT/COM/OLE CLASSES
Examples: NotesDocumentCollection class
1. This script uses the AllDocuments property in NotesDatabase to get a NotesDocumentCollection object representing all the documents in a database.
Dim db As New NotesDatabase( "Ankara", "project.nsf" )
Dim collection As NotesDocumentCollection
Set collection = db.AllDocuments
2. This script uses the Search method in NotesDatabase to get a NotesDocumentCollection object representing all of the documents created after March 14, 1995 whose Subject contains "lake".
Dim db As New NotesDatabase( "Ankara", "project.nsf" )
Dim dateTime As New NotesDateTime( DateNumber(1995, 3, 14) )
Dim selection As String
Dim collection As NotesDocumentCollection
selection = |@Contains( Subject; "lake" )|
Set collection = db.Search( selection, dateTime, 0 )
See Also
NotesDocumentCollection class
Glossary
Feedback on
Help
or
Product Usability
?
Help on Help
All Help Contents
Glossary