PreviousActiveX Controls Guide (v10) Next

Init

Chapter contents

Applies to:

VAccess

Description

Forces an initialization of the structures used in performing Pervasive PSQL extended fetch record set operations based on the parameters supplied in the CacheRows, CacheRejectMax, SelectedFields, and SelectedRecords properties.

Init must be performed prior to making extended operations calls upon initialization and whenever SelectedRecords, SelectedFields, CacheRows, or CacheRejectMax are changed.

Syntax

object.Init 
 

Part
Description
object
Required. The object placeholder represents an object expression that evaluates to an object in the Applies To list.

Remarks

If the AutoMode is set to True, setting the Init property will also perform the initial extended record set fetch operation (GetNextExtended), which requires logical currency. You may establish logical currency by invoking any of the indexed record operations such as GetFirst, GetEqual, and so on.

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

Example #1 - Automode = True

VAccess1.GetFirst
VAccess1.Init 

Example #2 - Automode = False

Orders.GetFirst
Orders.Init
Orders.GetNextExtended 

Chapter contents
Book contents

Prev topic: GetTotalSegments
Next topic: Insert