Btrv
Applies to
VAccess
Description
Performs a PSQL operation on the file associated with the VAccess control and returns the status of the operation.
Syntax
object.Btrv opcode
The syntax for this method has the following parts:
 
Remarks
Any 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.
Possible opcode settings are:
 
Clears the current Owner Name security for the file. Note: the file must first be opened with the existing owner name.
You may lock records in 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:
Example
If Check1.Value = 1 Then
stat = VAccess1.Btrv(5) 'GetEqual
Else
stat = VAccess1.Btrv(9) 'GetGreaterOrEqual
End If