dataType

The dataType property specifies the data type of the item.

For NON_DATABASE formField items, the data type has to be specified. For other formField items, data type is determined from the database column type and cannot be modified.

For certain values of dataType, the following properties can be set:
  • If dataType = CHAR: length and defaultValue.
  • If dataType = DATE, FLOAT, or INTEGER: defaultValue.
  • If dataType = DATETIME: qualifier1, qualifier2, and defaultValue. For further information, see Using the DATETIME type in the Genero Business Development Language User Guide.
  • If dataType = DECIMAL: precision, scale, and defaultValue. For further information, see Using the DECIMAL type in the Genero Business Development Language User Guide.
  • If dataType = INTERVAL: 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.