Subject correct closing of MDI-children ?
Author Oliver Wurdak
I have a MDI-Application with a connection and transaction component on the
MDI-parent form (tiCommited,Autocommit)
on many MDI-child forms I use TIB_Query objects with the connection from the
mainform. In the OnCreate-method I open the query. What happens when the
user closes the form? Causes this a Commit (or Commitretaining) ?
Should I write a OnClose event handler ?
e.g TIB_Query.close or is it a good idea to do some transaction handling in
such a handler perhaps start a new Trancaction
Any help would be appreciated.