Click or drag to resize

CoreDb.FieldGetBytes Method

X#
Retrieve the value of a specified database field as an array of bytes

Namespace:  XSharp
Assembly:  XSharp.Core (in XSharp.Core.dll) Version: 2.21
Syntax
 STATIC METHOD FieldGetBytes(
	nPos AS DWORD,
	oRet REF BYTE[]
) AS LOGIC
Request Example View Source

Parameters

nPos
Type: DWord
The 1 based position of the field in the database file structure for the current work area.
oRet
Type: Byte
The returnvalue is returned through this parameter

Return Value

Type: Logic
TRUE if successful; otherwise, FALSE.
Remarks
This function only works with RDDs that inherit from the DBF RDD. The Advantage RDD does not support this.
See Also