.

HCLSoftware Business Partner
Domino Consulting Services
CRUCIAL Notes Tools
+1 212-599-2048

Domino Consulting Services
CRUCIAL Notes Tools
Domino administration
Notes development

Facebook Twitter YouTube
Chat now       
.
ProductsDownloadsNewsAbout usContact


Need a Domino Consultant? Call NotesMail +1 212-599-2048 - HCLSoftware Business Partner

LOTUSSCRIPT/COM/OLE CLASSES


Examples: FTSearch method
This script collects all of the documents in the Business category of a database that contain the word "Presentations" and mails the document links to Minnie Brew.

Sub Click(Source As Button)
 Dim session As New NotesSession
 Dim db As NotesDatabase
 Dim collection As NotesDocumentCollection
 Dim newsletter As NotesNewsletter
 Dim doc As NotesDocument
 
 Set db = session.CurrentDatabase
 Set collection = db.FTSearch("Business", 10)
 Call collection.FTSearch("Presentations",10)
 Set newsletter = New NotesNewsletter( collection )
 Set doc = newsletter.FormatMsgWithDoclinks( db )
 doc.Form = "Memo"
 doc.Subject = "Here's the newsletter you requested."
 Call doc.Send( False, "Minnie Brew/CHI/ACME" )
End Sub

See Also