DbServer.RecordInfo Method | |
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
[ClipperCallingConventionAttribute(new string[] { ... })]
public virtual Usual RecordInfo(
Usual kRecInfoType = default,
Usual nRecordNumber = default,
Usual uRecVal = default
)
Request Example
View SourceParameters
- 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 |
---|
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