ReleaseUpdateDB::fieldStringSize Method [AX 2012]
Gets the string length of a field.
Syntax
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.
Exceptions
Exception | Condition |
---|---|
Error | The specified table does not exist. –or– The specified field is not found in the table. |
Remarks
The string size of a field is decided by the extended data type of the field.