DbServer.RecordInfo Method (Typed) | |
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
public virtual Usual RecordInfo(
int kRecInfoType,
[DefaultParameterValueAttribute(0, 0)] int nRecordNumber,
[DefaultParameterValueAttribute(0, 1)] Usual uRecVal
)
Request Example
View SourceParameters
- 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 |
---|
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.
|
Constant | Returned Value |
---|
DBRI_BUFFPTR
| Pointer to current record buffer |
DBRI_DELETED
| Is record deleted? |
DBRI_DELETED | Is record deleted? |
DBRI_RECSIZE
|
Record length.
|
DBRI_LOCKED |
Is record locked?
|
DBRI_RECNO | Record position (like the RecNo access). |
DBRI_USER | Start of user defined DBRI_ values. |
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