LOTUSSCRIPT/COM/OLE CLASSES


Examples: Query property
This script gets the query for the Cleansing Agent in the current database and puts it into the variable selection.

Dim session As New NotesSession
Dim db As NotesDatabase
Dim agent As NotesAgent
Set db = session.CurrentDatabase
Dim selection As String
agentList = db.Agents
Forall a In agentList
 If ( a.Name = "Cleansing Agent" ) Then
   Set agent = a
 End If
End Forall
selection = agent.Query

Some sample results:


See Also