MaxScanEntries Property (NotesDominoQuery - LotusScript)

Specifies the maximum allowable number of view entries scanned across all query terms. DQL execution return an error when exceeded. Default is 200,000.

Defined in


Data type



To get:
Dim maxentries as Long
maxentries = dquery.Maxscanentries 
To set:
dquery.Maxscanentries = 1000000 

Legal values

Full range of the LotusScript Long datatype

Language cross-reference

getMaxScanEntries method (DominoQuery - Java)

setMaxScanEntries method (DominoQuery - Java)