Hi all,
In my script, database values are updated in search mode. Any one have any ideas why this is happening?
Hi all,
In my script, database values are updated in search mode. Any one have any ideas why this is happening?
It’s possible that a form doesn’t get into find mode. That’s why you should always check if you are in find mode like so:
if ( controller.find() ) {
//set the search criteria
}
Hope this helps.
Thanks a lot Robert.
Let me check.
We had the same problem yesterday in 3.1. After a record change we were unable to get into find mode in some other form. Really strange! That does not happen in 3.5.
Hi ars ,
It seems to be control is coming out of find mode .
check if you are in find-mode, because sometimes (when you use autoSave false, for example) a find, could fail.
before find you use
databaseManager.setAutoSave(true);
Hope this will help
Hi Partho,
Great. Now it is working fine.
Thanks a lot for your research.