Subject | Preventing "Dataset is currently fetching" exception |
---|---|
Author | Daniel Albuschat |
Post date | 2005-07-15T07:15:10Z |
Hello there,
I sometimes have the problem that the mentioned exception is
thrown when opening a Query.
I'd like to prevent this where applicable.
Thus I'd like to implement/override a Open function that, if it is fetching,
waits till it is done and then executes the original Open.
Now I've found no way to "Wait" for the fetching to be completed.
Is there any callback that is called after fetching?
Then, I could work out a simple and effective solution with WinAPI Events.
Bye,
Daniel
I sometimes have the problem that the mentioned exception is
thrown when opening a Query.
I'd like to prevent this where applicable.
Thus I'd like to implement/override a Open function that, if it is fetching,
waits till it is done and then executes the original Open.
Now I've found no way to "Wait" for the fetching to be completed.
Is there any callback that is called after fetching?
Then, I could work out a simple and effective solution with WinAPI Events.
Bye,
Daniel