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.19
Syntax
 FUNCTION VoDbFieldGetBytes(
	wFieldPos AS DWORD,
	aBytes 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.
aBytes
Type: Byte
The value that is retrieved from the Record Buffer of the RDD. No translations are done.

Return Value

Type: Logic
TRUE if successful; otherwise, FALSE.
Remarks
VODBFieldGet() is like FieldGet() but is strongly typed. This function, however, does not call the error handler and will not, therefore, produce a runtime error message or create an error object if it fails. Thus, it may be important to check the return value to determine if the function succeeded.
the LastRddError property in the runtime state. will contain needed information regarding any error that occurs.
See FieldGetArea(DWord, Symbol) for more information and an example.
Examples