dataType

The dataType property specifies the data type of the item.

If fieldType is NON_DATABASE, the data type has to be specified. For other field types, the data type is determined from the database column type and cannot be modified.

For certain values of dataType, other properties are enabled:
  • If dataType = CHAR, you can set length and defaultValue.
  • If dataType = DATE, FLOAT, or INTEGER, you can set defaultValue.
  • If dataType = DATETIME, you can set qualifier1, qualifier2, and defaultValue. For further information, see Using the DATETIME type in the Genero Business Development Language User Guide.
  • If dataType = DECIMAL, you can set precision, scale, and defaultValue. For further information, see Using the DECIMAL type in the Genero Business Development Language User Guide.
  • If dataType = INTERVAL, you can set qualifier1, precision, qualifier2, and defaultValue. For further information, see Using the INTERVAL type in the Genero Business Development Language User Guide.

There is not an explicitly-named DATATYPE attribute in Genero BDL. A widget's data type is defined within a form's ATTRIBUTES section. For related topics, search on ATTRIBUTES section in the Genero Business Development Language User Guide.