MaxEntries (NotesQueryResultsProcessor - LotusScript)
To prevent runaway processing during ExecuteToJSON or ExecuteToView, throws an error if the number of documents fetched across all input collections exceeds the MaxEntries limit.
Defined in
Data type
Long
Syntax
To get:
Dim maxentries as Long
maxentries = qrp.MaxEntries
To set:
qrp.MaxEntries = <value>
Usage
As the QueryResultsProcessor engine includes data from all of the specified input results, use MaxEntries to limit the total number being included. If this limit is exceeded, the processing fails and returns the error "Maximum number of documents or view entries scanned for query exceeded." The default behavior has no limit.