.
1
-, " " . . ApplyUpdates try...except, Application.HandleException .
, QryCmdPerf.Close, ?
, Application.HandleException ( Application.ShowException) .
, Application.OnException. , , , .
, , Application.HandleException , " ".
2
If you reach a breakpoint, but an exception is thrown again, then this should be much easier to solve.
The method Closeis probably trying to keep any pending changes, so it effectively applies the updates again. Instead of simply closing the dataset, call CancelChangesor equivalent.
source
share