Export (0) Print
Expand All
Expand Minimize

xRecord.getFieldValue Method [AX 2012]

Gets the value of the specified field from a table buffer.

public anytype getFieldValue(str fieldName, [int arrayIndex])

Run On

Called

Parameters

fieldName
Type: str
The name of the field from which to get the value.
arrayIndex
Type: int
The array index of the field; optional.

Return Value

Type: anytype
The value of a field.

The arrayIndex parameter only applies to array fields. Either omit this parameter or specify 0 (zero) for fields that are not arrays.This method throws an ArgumentOutOfRange exception if the specified field is unknown.

Community Additions

ADD
Show:
© 2014 Microsoft