.

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: IsSorted property
This script checks if a collection is sorted. Since the collection is produced using the FTSearch method, the IsSorted property is True and the script displays a dialog box stating that "This collection is sorted."

Sub Click(Source As Button)
 Dim session As New NotesSession
 Dim db As NotesDatabase
 Dim collection As NotesDocumentCollection
 Set db = session.CurrentDatabase
 Set collection = db.FTSearch( "white wine", 0 )
 If collection.IsSorted Then
   Messagebox( "This collection is sorted" )
 Else
   Messagebox( "This collection is unsorted" )
 End If
End Sub

See Also