× Discussions for CodeTyphon Studio Installation and Setup.

Question Transaction.Commit -Attempt to reclose a closed cursor.

  • Rafał
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 months 3 weeks ago - 8 months 3 weeks ago #15514 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. 

 
Last edit: 8 months 3 weeks ago by Rafał.

Please Log in or Create an account to join the conversation.

More
8 months 3 weeks ago #15517 by Matis A.
Sir we follow FreePascal SVN changes in code

PilotLogic Core Programmer

Please Log in or Create an account to join the conversation.