Hello All,
I have a unique scenario where I have to capture (log) everytime my powerbuilder application loses its DB connection.
App behavior - it will continue to show no signs of disconnection until the user tries to retrieve any data. Then it shows a message saying connection no longer available or unstable.
However, is there a way to capture this at a global level? I have over 400 modules and I cannot include a code change in every datawindow dberror event.
SystemError event does not trigger in this case.
Any ideas?
Where and how can we write codes, (in dberror event) for default (sqlca) transaction object ?
Happiness Always
BKR Sivaprakash
However, if I create a new NVUO from the transaction class object, will that have to be replaced with the existing transaction object I have? I already have a SQLCA object that is used all over the app, so if I create a new one, and write code in it's events, will that also require me to make a global change to use this "new" TO ? I am trying to get this done with minimum change from the app side.
Your timer event hack sounds doable, but I "DO NOT" want to avoid the lost connectivity. I want to capture everytime it happens.