PreviousActiveX Controls Guide (9.1 revision 1) Next

Validate

Show this topic in Library frames

Applies to:

VAccess control

Description

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

Syntax

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

Remarks

OpCode corresponds to the Pervasive.SQL 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
Publication contents

Prev topic: Reposition
Next topic: