Subject EIB_DatasetError: Cursor is not open
Author Markus Ostenried
Hi all,

I'm debugging some code which I *think* worked some time ago (Delphi
2007, IBO4).

Anyways we upgraded the project to XE3 and IBO 5.2.0 7 and now I'm
getting the subject exception raised in TIB_Dataset.SysFetchNext when
I call IB_Transaction.Commit.

The exception occurs during SysProcessCommitAction, with the
TIB_Query's CommitAction being caFetchAll.

Does anyone have a general idea what I should look for?
What exactly does this error mean -- that a cursor created via
Firebird API is no longer available?

Let me know if you need more information.

TIA,
Markus

:752b4b32 KERNELBASE.RaiseException + 0x49
ibo5crt_d2013.IB_Components.TIB_Dataset.SysFetchNext
ibo5crt_d2013.IB_Components.TIB_Dataset.SysFetchAll(0)
ibo5crt_d2013.IB_Components.TIB_Dataset.FetchAll
ibo5crt_d2013.IB_Components.TIB_Transaction.SysProcessCommitAction(True,True,False,False)
ibo5crt_d2013.IB_Components.TIB_Transaction.SysCommitBegin(False,True)
ibo5crt_d2013.IB_Components.TIB_Transaction.SysCommit(False)
ibo5crt_d2013.IB_Components.TIB_Transaction.Commit