:: com :: sun :: star :: form :: component ::

service DatabaseFormattedField

Included Services - Summary
FormattedField
(referenced entity's summary:)
::com::sun::star::form::DataAwareControlModel
(referenced entity's summary:)
Properties' Summary
boolean
ConvertEmptyToNull
determines if an empty text should be treated as a `NULL` value.  
Included Services - Details
FormattedField
(referenced entity's summary:)
::com::sun::star::form::DataAwareControlModel
(referenced entity's summary:)
Properties' Details
ConvertEmptyToNull
boolean ConvertEmptyToNull;
Description
determines if an empty text should be treated as a `NULL` value.

When the user enters text into a formatted field control, and after this, the control content is to be committed into the database field the control is bound to, a decision must be made how to deal with empty strings.
This is controlled by #ConvertEmptyToNull.

If the property is set to `TRUE`, and an empty text is to be committed, this is converted into `NULL`, else it is written as empty string.


 
Top of Page