Click or drag to resize

VoDbFieldGetBytes Function

Retrieve the value of a specified database field.

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


Type: UInt32
The position of the field in the record structure for the current work area.
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: Boolean
TRUE if successful; otherwise, FALSE.
VODBFieldGet() is like FieldGet() but is strongly typed.  See FieldGet() for more information and an example.