- Posts: 12
- Thank you received: 0
- Forum
- CodeTyphon Studio
- CT Installation and Setup
- Transaction.Commit -Attempt to reclose a closed cursor.
×
Discussions for CodeTyphon Studio Installation and Setup.
Question Transaction.Commit -Attempt to reclose a closed cursor.
- Rafał
- Topic Author
- Offline
- New Member
-
Less
More
1 year 4 months ago - 1 year 4 months ago #15514
by Rafał
Transaction.Commit -Attempt to reclose a closed cursor. was created by Rafał
In CT7.3, Windows 10, Firebird 3.0
I have problem with TSQLTransaction.
I have TSQLQuery with "insert into tbluser (name, surname) values (:p1, :p2) returning id" then
SQLQuery.Open.
id:=SQLQuery.FieldByName('id').AsString;
SQLTransaction.Commit - here i receive error "-Attempt to reclose a closed cursor"
in CT7.2 it was works fine.
if I replace SQLTransaction.CommitRetaining - it's working.
I have problem with TSQLTransaction.
I have TSQLQuery with "insert into tbluser (name, surname) values (:p1, :p2) returning id" then
SQLQuery.Open.
id:=SQLQuery.FieldByName('id').AsString;
SQLTransaction.Commit - here i receive error "-Attempt to reclose a closed cursor"
in CT7.2 it was works fine.
if I replace SQLTransaction.CommitRetaining - it's working.
Last edit: 1 year 4 months ago by Rafał.
Please Log in or Create an account to join the conversation.
- Matis A.
-
- Away
- Moderator
-
1 year 4 months ago #15517
by Matis A.
PilotLogic Core Programmer
Replied by Matis A. on topic Transaction.Commit -Attempt to reclose a closed cursor.
Sir we follow FreePascal SVN changes in code
PilotLogic Core Programmer
Please Log in or Create an account to join the conversation.