Hello,
I have a method in a table view that is shown in a tab panel. The method opens a single record of the related data in a form dialog.
When the form is opened, I start a transaction. The form, then, has two buttons, ‘Save’ and ‘Cancel’. If the user cancels, the transaction is rolled back.
To solve the problem of the user hitting the close box of the window (the “x”), I have a method that is executed onHide of that form (in dialog). That method checks, if a transaction is active and if yes, asks the user if he wants to save data or not.
Since a few days ago I have a behaviour where the user is asked to save or not when the form is shown (it should only be fired when the form is hidden)?! This only happens after a few times opening the form.
It is hard to explain, but I hope you understood. In the log file I also get an error. I included the log file.
Thanks.