Click or drag to resize

DbServer.RecordInfo Method

X#
Retrieve information about the indicated record.

Namespace:  VO
Assembly:  VORDDClasses (in VORDDClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD RecordInfo(
	kRecInfoType,
	nRecordNumber,
	uRecVal
) AS USUAL CLIPPER
Request Example View Source

Parameters

kRecInfoType (Optional)
Type: Usual
The information retrieved depends on the constant specified. See the remarks section below for a list of constants.
nRecordNumber (Optional)
Type: Usual
Indicates the record for which information is to be retrieved; if 0 or omitted, refers to the current record.
uRecVal (Optional)
Type: Usual
This parameter is reserved for RDDs that allow you to change the information rather than just retrieve it. Either omit the argument or specify it as NIL.

Return Value

Type: Usual
The data type of the return value depends on the value requested.
Remarks
Tip Tip
The values in the table below exist both as DEFINEs and also as members of the DbRecordInfo enum.
You can see the numeric values of the defines in the documentation of this Enum.
ConstantReturned Value
DBRI_BUFFPTR Pointer to current record buffer
DBRI_DELETED Is record deleted?
DBRI_DELETEDIs record deleted?
DBRI_RECSIZE Record length.
DBRI_LOCKED Is record locked?
DBRI_RECNORecord position (like the RecNo access).
DBRI_USERStart of user defined DBRI_ values.
Tip Tip
DBRI_USER is a constant that returns the minimum value that third-party RDD developers can use for defining new properties. Values less than DBRI_USER are reserved for X# development.
See Also