Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2017-03

sqoKeepOpenOnCommit

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

kapibara

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?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20170320/37403e0b/attachment.html>

Reply by email

Michael Van Canneyt
to kapibara
kapibara wrote 11 lines
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.

Reply by email