error Can't perform operation on active transaction
Posted: Thu 05 Jul 2007 12:52
Hello,
i have migrate (with the wizard) my project from BDE to IBDAC2.
wihle execute starttransaction the message "Can't perform operation on active transaction" is announced. Some TIBCQuerys are open with the flag read only. The isolation level is like BDE ReadCommitted.
form1.zpm_db.starttransaction;
try
update_patient.execsql;
update_beleg.execsql;
if optag-1 then update_opplan.execsql;
form1.zpm_db.commit;
except
form1.zpm_db.rollback;
messagedlg('ERROR',mterror,[mbok],0);
end;
Best regards
Roland
i have migrate (with the wizard) my project from BDE to IBDAC2.
wihle execute starttransaction the message "Can't perform operation on active transaction" is announced. Some TIBCQuerys are open with the flag read only. The isolation level is like BDE ReadCommitted.

try
update_patient.execsql;
update_beleg.execsql;
if optag-1 then update_opplan.execsql;
form1.zpm_db.commit;
except
form1.zpm_db.rollback;
messagedlg('ERROR',mterror,[mbok],0);
end;
Best regards
Roland