Hi,
I have a date field and a correspondent action based on that field
if (date_field){
// Do something
} else {
// Do Other things
}
If I fill the field value then issue a “databaseManager.rollbackEditedRecords()” the date field is STILL holding the same date value filled.
Database shows that it was not saved and there is nothing in the log.
However, when going to dev mode then run again it goes to else.
Any suggestions?
Servoy Developer
Version 3.5.6-build 519
Java version 10.0-b19 (Windows XP)
I made some tests.
The only thing I can find wrong is that in web client the field doesn’t revert value in the UI. So the UI is out of sync with the field…
In smart client it seems to work.
Please add a case for this problem to the support system.
MSibai
June 16, 2008, 2:32pm
3
Hi Andre,
More details on this:
we have a form with a tabpanel contains a set of tabs (unrelated) but reading from the same table and same foundset.
We have a global function that checks date fields.
I’ll post a copy of the application in the CRM because of its confidentiality.
Please refer to case #140846
MSibai
June 25, 2008, 8:53pm
4
Thank you for your support closing this issue…
We are sorry for wasting Servoy Support Team for a Development BUG
Thanks for your co-operation