[Lazarus] sqoKeepOpenOnCommit

Michael Van Canneyt michael at freepascal.org
Mon Mar 20 09:45:31 CET 2017



On Mon, 20 Mar 2017, kapibara via Lazarus wrote:

> I started using TSQLQuery's new property sqoKeepOpenOnCommit instead of 
> CommitRetaining. When the app is closing there is now this error:
>
> Quote
>
>   Operation cannot be performed on an active dataset
>
> Happens only if sqoKeepOpenOnCommit is true.
>
> If the dataset is closed before exiting the application this doesn't happen. 
> Is this a bug?

It depends. 
Can you reproduce this with a non-LCL application ?

Michael.


More information about the Lazarus mailing list