PreviousActiveX Controls Guide (v10) Next

Validate

Chapter contents

Applies to:

VAccess control

Description

This event fires before any record operation takes place on the associated Pervasive PSQL file.

Syntax

Sub VAccess_Validate([Index As Integer,]OpCode As 
Integer, InsertRecord As Integer, UpdateRecord As 
Integer) 

Remarks

OpCode corresponds to the Pervasive PSQL API Operation code which is to be performed. Setting this code to another operation code changes the operation performed. Setting this code to zero cancels the operation. Setting either InsertRec or UpdateRec to True inserts or updates the current record, respectively, before executing the operation specified by OpCode. You should not make any calls to the Btrv function using the associated VAccess control, or set any record operation properties of the VAccess control in response to this event, as doing so could result in an infinite loop or have other unpredictable consequences.


Chapter contents
Book contents

Prev topic: Reposition
Next topic: