Search (NotesDatabase - LotusScript)

Given selection criteria for a document, returns all documents in a database that meet the criteria.

Defined in

NotesDatabase

Syntax

Set notesDocumentCollection = notesDatabase .Search( formula$ , notesDateTime , maxDocs% )

Parameters

formula$

String. A Notes @function formula that defines the selection criteria.

notesDateTime

A start date. The method searches only documents created or modified since the start date. Specify Nothing to indicate no start date.

maxDocs%

Integer. The maximum number of documents you want returned. Specify 0 to receive all matching documents.

Return value

notesDocumentCollection

NotesDocumentCollection. An unsorted collection of documents that match the selection criteria.

Language cross-reference

search method in Java™ Database class

EditSelectByDate @command in formula language

Example


Additional Documentation | Trademarks |