ReleaseUpdateDB::fieldStringSize Method [AX 2012]

Gets the string length of a field.

server public static int fieldStringSize(TableId _tableId, FieldId _fieldId)

Run On

Server

Parameters

_tableId
Type: TableId Extended Data Type
The ID of a table.
_fieldId
Type: FieldId Extended Data Type
The ID of a field.

Return Value

Type: int
The string length of the field.

ExceptionCondition
Error

The specified table does not exist.

–or–

The specified field is not found in the table.

The string size of a field is decided by the extended data type of the field.

Show: