niota

fascinating. logical.

User Tools

Site Tools


niota-docs:grid_edit_null_and_empty

This is an old revision of the document!


Grid editing special cases

Null and empty string values can be distinguished during grid edit as special cases.

Null value

In niota value “null” can be indicated with character '~'. In the case of text/varchar fields if a column is nullable and '~' is given as value on the edit-form, then “null” will be inserted into the database cell. Null indicator '~' can be used also in the case of nullable numeric fields. Lookup sets can be extended with additional “null” value. Check the help of the corresponding administrative menu item for further information: configure lookup

Empty string value

In niota value empty-string can be indicated with string “--”. In the case of text/varchar fields if “--” is given as value on the edit-form, then empty-string will be inserted into the database cell. Indicator character “--” can be used only in the case of textual fields (varchar, nvarchar, etc.).

Oracle database connection acts differently. In Oracle database environment “null” and empty-string value are not distinguished. Cell value can be null by using '~' character on the edit-form. But “--” string has no meaning in this context therefore “--” input is used as a valid text input.

niota-docs/grid_edit_null_and_empty.1644494586.txt.gz · Last modified: 2025/07/17 14:11 (external edit)