MaxScanDocs Property (NotesDominoQuery - LotusScript)

Specifies the maximum allowable number of documents scanned across all query terms. DQL execution returns an error when exceeded. Default is 500,000.

Defined in

NotesDominoQuery

Data type

Long

Syntax

To get:
Dim maxdocs as Long
maxdocs = dquery.Maxscandocs
To set:
dquery.Maxscandocs = 1000000

Legal values

Full range of the LotusScript Long datatype

Language cross-reference

getMaxScanDocs method (DominoQuery - Java)

setMaxScanDocs method (DominoQuery - Java)