fieldLen
The fieldLen property specifies the number of bytes in a form field. This value does not include the preceding attribute byte.
If the form field is of a numeric type, the value of fieldLen must be sufficient to display the largest number that you intend to place in the field, plus the potential formatting characters such as a decimal point and a sign.
If the form field is of a character type, the value of fieldLen varies
as follows:
- For fields of type CHAR or MBCHAR, the value must match the length you specify for the type itself. In the case of MBCHAR, the value must be large enough to account for the double-byte characters and for any shift-in and shift-out characters.
- For fields of type DBCHAR, the value must be equal to double the length that you specify for the type itself.
The default value of fieldLen is the number of bytes for the type itself.
Compatibility
| Data item | VGUI record | Console UI | Text Form Java™ | Text Form COBOL | Print Form Java™ | Print Form COBOL |
|---|---|---|---|---|---|---|
| Yes | No | Yes | Yes | Yes | Yes | Yes |