Click or drag to resize

DbServer.RecordInfo Method (Typed)

X#
Retrieve information about the indicated record.

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

Parameters

kRecInfoType
Type: Long
The information retrieved depends on the constant specified. See the remarks section below for a list of constants.
nRecordNumber
Type: Long
Indicates the record for which information is to be retrieved; if 0 or omitted, refers to the current record.
uRecVal
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