Subject | Pb with transaction |
---|---|
Author | Boris LATOUR |
Post date | 2001-03-20T11:16:14Z |
I have a little problem on transaction :
In my configuration i use the autocommit property.
In my code, i use :
Bdd.StartTransaction
xx
xx
if ShowModal = mrOk then (Display my record form)
Bdd.Commit
else
Bdd.Rollback;
The problem is on some records when i discard the change (it's never the
first time), i obtain sometimes the following message :
ISC : 335544569
Sql Error Code : -504 - Cursor Unknown
But this problem never occurs automatiquely. It's randoming.
I can perhaps use the monitor but i don't know how it works.
Regards.
Boris LATOUR
E-mail : blatour@...
In my configuration i use the autocommit property.
In my code, i use :
Bdd.StartTransaction
xx
xx
if ShowModal = mrOk then (Display my record form)
Bdd.Commit
else
Bdd.Rollback;
The problem is on some records when i discard the change (it's never the
first time), i obtain sometimes the following message :
ISC : 335544569
Sql Error Code : -504 - Cursor Unknown
But this problem never occurs automatiquely. It's randoming.
I can perhaps use the monitor but i don't know how it works.
Regards.
Boris LATOUR
E-mail : blatour@...