LOTUSSCRIPT/COM/OLE CLASSES
Examples: Query property
1. This script gets a collection of documents that match a full-text search query. The Query property returns "white wine."
Dim session As New NotesSession
Dim db As NotesDatabase
Dim collection As NotesDocumentCollection
Dim search As String
Set db = session.CurrentDatabase
Set collection = db.FTSearch( "white wine", 0 )
search = collection.Query
2. This script gets a collection of documents that match a search query. The Query property returns "@Contains(Subject; "Bicycle")."
Dim session As New NotesSession
Dim db As NotesDatabase
Dim dateTime As NotesDateTime
Dim collection As NotesDocumentCollection
Dim search As String
Set db = session.CurrentDatabase
Set dateTime = New NotesDateTime( "07/21/95" )
Set collection = db.Search _
( "@Contains(Subject;""Bicycle"")", dateTime, 2 )
search = collection.Query
See Also
Query property
Glossary
Feedback on
Help
or
Product Usability
?
Help on Help
All Help Contents
Glossary