PreviousActiveX Controls Guide (v10) Next

GetDirect

Chapter contents

Applies to:

VAccess

Description

Attempts to retrieve a record using its physical position in the file and returns, as an Integer value, the Pervasive PSQL status code.

Syntax

object.GetDirect [vLockBias] 
 

Part
Description
object
Required. The object placeholder represents an object expression that evaluates to an object in the Applies To list.
vLockBias
Optional. Value representing the type of record lock to place on the record when it is retrieved. Default is 0, no lock. One of the following constants:
Const BTO_SingleNoWait = 200
Const BTO_MultiNoWait = 400

Remarks

This method attempts to retrieve a record by physical position from the file associated with object, and returns the Pervasive PSQL status code from the operation. A return value of zero indicates success.


Chapter contents
Book contents

Prev topic: FormatFieldValue
Next topic: GetEqual