I have Midas project that uses a TDataSetProvider in one of RemoteDataModules in the Server
Currently I am making use of the following events
- BeforeApplyUpdates – to create an Object
- BeforeUpdateRecord – to use the object
- AfterApplyUpdates – to destory the object
Question:
Will ‘ AfterApplyUpdates’ always be called even if the is an update error ?
If you look at the sourcecode:
Yoy see that DoAfterApplyUpdates is called in the finally block. This means it is always called regardles of any exception.