victor.rojo wrote:I think that Postgres expect a date instead of a string.
That is correct. PostgreSQL doesn't implicitly cast strings to a date (anymore).
victor.rojo wrote:I think that Postgres expect a date instead of a string.
victor.rojo wrote:jasantana wrote:Hi,
When I launch the solution I get this error: Cannot rander the Calendar. Please Restart the application!
Hi, did you import the solution in a Postgres db?
I also had this error. The problem is in
- Code: Select all
var apptDataset = databaseManager.getDataSetByQuery(datasource,
sqlQuery, [globals.mfcal_g_getUserIDx(),
utils.dateFormat(monthViewStartDate, 'yyyy-MM-dd HH:mm:ss'),
utils.dateFormat(monthViewlastTime, 'yyyy-MM-dd HH:mm:ss')], 10000);
I think that Postgres expect a date instead of a string.
I searched all the databaseManager.getDataSetByQuery and replaced the utils.dateFormat(<date>, 'yyyy-MM-dd HH:mm:ss') with <date> and it worked.
victor.rojo wrote:I think that Postgres expect a date instead of a string.
I searched all the databaseManager.getDataSetByQuery and replaced the utils.dateFormat(<date>, 'yyyy-MM-dd HH:mm:ss') with <date> and it worked.
michele wrote:Someone has tested to use this module in an application based on the servoy navigation framework ?
I receive an error ("Cannot rander the Calendar. Please Restart the application!" when the main form is opened and i can't see the months panel on the left....
jasantana wrote:michele wrote:Someone has tested to use this module in an application based on the servoy navigation framework ?
I receive an error ("Cannot rander the Calendar. Please Restart the application!" when the main form is opened and i can't see the months panel on the left....
I think the solution for your problem is some posts ago. It might be the SQL to retrieve the data and the dates format
Users browsing this forum: No registered users and 6 guests