IBCQuery closed after Commit

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
jheinz
Posts: 1
Joined: Mon 20 Jul 2009 14:43

IBCQuery closed after Commit

Post by jheinz » Mon 20 Jul 2009 14:47

I connect a IBCTransaction to a IBCQuery.

Is it correct that the query is closed after a commit or rollback?

I need

query.open
-- do something
query.post
transaction.commit
query.edit
--do something

mariusz
Posts: 62
Joined: Wed 16 Jul 2008 21:04
Location: Poland / Poznan
Contact:

Post by mariusz » Mon 20 Jul 2009 15:23

Yes, it's correct.
You can use CommitRetaining and RollbackRetaining

I was same problem at the beginging :)

americasoft
Posts: 2
Joined: Thu 02 Jun 2011 14:00

Post by americasoft » Thu 02 Jun 2011 14:12

mariusz wrote:Yes, it's correct.
You can use CommitRetaining and RollbackRetaining

I was same problem at the beginging :)
Hi guys,

I did it but, when i try to see all data that i input, i can't see them unless that i close my application and open again.

Somebody can help me?

AndreyZ

Post by AndreyZ » Fri 03 Jun 2011 09:09

I've answered you by e-mail.

Post Reply