Any Pervasive PSQL function that can be performed by the VAccess control can be used by means of the Btrv method. The method takes a single parameter, the OpCode. OpCode constant declarations are included in the files GLOBAL.BAS (for Visual Basic),, GLOBAL.PAS (for Delphi), and GLOBAL.H (for Visual C++). Include one of these files (whichever is appropriate for your development environment) in your project to use the OpCode constants in your application.
You may lock records in Pervasive PSQL by adding a lock bias to the operation code. With Btrv, you may specify a lock on any
Get or
Step operation. Use the
Unlock method to remove locks. The lock biases are: