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
Véase también
Query property
Glosario
¿Desea opinar sobre la Ayuda?
Ayuda sobre la Ayuda
Abrir la Ayuda en pantalla completa
Glosario
¿Desea opinar sobre la Ayuda?
Ayuda sobre la Ayuda
Abrir la Ayuda en pantalla completa