Retrieve the value of a specified database field.
XSharp.RT (in XSharp.RT.dll) Version: 2.08
Syntax View Source
wFieldPos AS DWORD,
ptrRetVal REF USUAL
) AS LOGIC
public static bool VoDbFieldGet(
ref Usual ptrRetVal
- Type: UInt32
The position of the field in the record structure for the current work area.
- Type: Usual
A pointer to a polymorphic value. This value will receive the requested information if the function is successful and will be unchanged otherwise. If you just want to retrieve information, this value must be NIL before calling the function.
Although other RDDs may expand on this concept, the supplied RDDs (as outlined in the "RDD Specifics" appendix in the Programmer's Guide) limit using a non-NIL value to a single circumstance in which you can change the information rather than just retrieve it. With the DBS_ALIAS <kInfoType>, you can specify a non-NIL value, allowing you to specify a string that you can subsequently use to access the indicated field.
TRUE if successful; otherwise, FALSE.
VODBFieldGet() is like FieldGet() but is strongly typed. See FieldGet() for more information and an example.
Examples See Also