FieldPutBytes Function | |
Write an array of bytes direct to the workarea buffer.
Namespace:
XSharp.RT
Assembly:
XSharp.RT (in XSharp.RT.dll) Version: 2.21
Syntax FUNCTION FieldPutBytes(
nFieldPos AS USUAL,
aBytes AS BYTE[]
) AS USUAL
public static Usual FieldPutBytes(
Usual nFieldPos,
byte[] aBytes
)
Request Example
View SourceParameters
- nFieldPos
- Type: Usual
The position OF the FIELD IN the database file structure. - aBytes
- Type: Byte
The value to write to the field
Return Value
Type:
Usual
The value assigned TO the field.
IF
nFieldPos does not correspond to the position of any field in the database file, FieldPutBytes() will generate an error.
Remarks This will only work for DBF based workareas (not for Advantage workareas)
See Also