InTransaction implementation - 12/19/03 04:57 PM
I need to create a "Save button" in a toolbar that is enabled only if a transaction is open.
In the OnUpdate event of an Action i call the InTransaction method to Enable/Disable the button.
This works fine but using the monitor i've noted the InTransaction instead to be a simple flag, ask to the database if the transaction is open.
This is problematic because the OnUpdate events fires every time the application is idle. This means a great amount of network traffic is generated.
Is there a workaround ?
Why cannot the InTransaction be a simple flag handled by the session component ?
Regards
sergio sette
In the OnUpdate event of an Action i call the InTransaction method to Enable/Disable the button.
This works fine but using the monitor i've noted the InTransaction instead to be a simple flag, ask to the database if the transaction is open.
This is problematic because the OnUpdate events fires every time the application is idle. This means a great amount of network traffic is generated.
Is there a workaround ?
Why cannot the InTransaction be a simple flag handled by the session component ?
Regards
sergio sette