The form displays fields from two tables. The first table is linked when the app is created. The wanted fields from second table are manually added in Forms Setting->Fields. On_Load the second db is queried and the fields filled with the values found.
Among the fields of the second table is a date field. Except the date field all fields display properly when opening the form,.
With an sc_alert the date field checked in the onLoad event. It contains the date in format ‘YYYY-mm-dd’
The form opended diplays the date field: It contains format letters and no date.
Questions:
- What format conversion is done when reading date from the db?
- How to format the date in the OnLoad event that will display properly in the opened form?
- Is there a better method for a form with data from two tables?