Click or drag to resize

VoDbFieldGetBytes Function

X#
Retrieve the value of a specified database field.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.21
Syntax
 FUNCTION VoDbFieldGetBytes(
	wFieldPos AS DWORD,
	ptrRetVal REF BYTE[]
) AS LOGIC
Request Example View Source

Parameters

wFieldPos
Type: DWord
The position of the field in the record structure for the current work area.
ptrRetVal
Type: Byte
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 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.

Return Value

Type: Logic
TRUE if successful; otherwise, FALSE.
Remarks
VODBFieldGet() is like FieldGet() but is strongly typed. See FieldGet() for more information and an example.
Examples