PreviousActiveX Controls Guide (9.1 revision 1) Next

CacheRejectMax

Show this topic in Library frames

Applies to:

VAccess

Description

This property corresponds to the maximum reject count parameter in the Pervasive.SQL extended get operation structure (see the Get Next Extended documentation in the Pervasive.SQL Programmer's Guide).

Remarks

Specifying a value for the CacheRejectMax property limits the number of records which Pervasive.SQL can skip while searching for records which meet the SelectedRecords property filter conditions. A zero value in this property will use a system-defined maximum. You can use this property to optimize read times for a given query. The valid range for this property is 0 (default) through 65,535 records. If no value is specified for the SelectedRecords property, setting this property has no effect.

This property may be used by GetNextExtended, GetPreviousExtended, StepNextExtended, or StepPreviousExtended methods, or by a VAccess control running in AutoMode, responding to a request for a specific Row value.

If Pervasive.SQL reaches the CacheRejectMax value while processing an extended fetch, the fetch operation will return the set of records encountered in processing the fetch operation which meet the record selection criteria and a status value of 64, indicating that filter limit for rejected records was reached.

The ExtendedOps property must be set to True to enable the extended operations capabilities of the VAccess control.

See Also

Affects: GetPreviousExtended, GetNextExtended, StepPreviousExtended, StepNextExtended

Affected by: SelectedRecords, ExtendedOps


Chapter contents
Publication contents

Prev topic: Buffer
Next topic: CacheRows