05-18-2022 07:46 AM - last edited a month ago by JackLacava
I have a Sql Editor component, with a couple of date-columns. If the value in the belonging custom-table is value NULL, then the value in the editor will always be the minimum value of the sql datetime type.
I just want to show a blank value instead of "1/1/1900". Anybody solved this?
05-18-2022 02:04 PM
I don't think you can display a blank value for a SQL date field as 1/1/1900 represents null. My workaround was to convert a date field to string and store dates as strings. If the field value is null then the table editor displays it as blank.
The only drawback is that you lose functionality that are specific to date fields (i.e. filter using calendar).
05-19-2022 10:53 AM
Some good discussion on this topic online