Given selection criteria for a document, returns all documents in a database that meet the criteria.
Set notesDocumentCollection = notesDatabase .Search( formula$ , notesDateTime , maxDocs% )
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.
notesDocumentCollection
NotesDocumentCollection. An unsorted collection of documents that match the selection criteria.
search method in Java™ Database class
EditSelectByDate @command in formula language