Cancel is called during locate

Gorby

Member
Hi.

I have a problem.

Sometimes when I change record and move to another one, Cancel is called and my chages are lost.

I can catch OnBeforeCancel event and check call stack. This shows me that last call to OracleDataSet was using locate and the program somehow got to the OnBeforeCancel event.

This happens only on my of my forms - all others are very similar but have no problems. Consequently, I cannot reproduce it. This is a detailed dataset with CachedUpdates. I use DevExpress QuantumGrid if this is of any importance.

Any help would be appreciated.

TIA,
Alex
 
If cancel is called as a result of a Locate, then maybe you are using version 3.4.5 or earlier? Version 3.4.6 fixed a bug that could cause this.

------------------
Marco Kalter
Allround Automations
 
No. I use 3.4.6.4 and Oracle 9.2 client.

Strange... I have no such behaviour before. Do you know what should I look for?

Thanks,
Alex
 
What happens if you call Locate yourself? Does this also cancel the changes?

------------------
Marco Kalter
Allround Automations
 
Back
Top