Subject Re: [IBO] Pb with transaction
Author Jason Wharton
The callstack is what you get when the debugger breaks on the exception.

Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com


----- Original Message -----
From: "Boris LATOUR" <blatour@...>
To: <IBObjects@yahoogroups.com>
Sent: Tuesday, March 20, 2001 8:20 AM
Subject: RE: [IBO] Pb with transaction


My versions :
Delphi 4
IBO : 3.6 Cf

What do you mean by the callstack of the error ?

The error message show this too : TIboInternalDataSet:
"tabMateriel.IBOqrtabMateriel"

Regards.

Boris LATOUR

-----Message d'origine-----
De : Jason Wharton [mailto:jwharton@...]
Envoyé : mardi 20 mars 2001 15:00
À : IBObjects@yahoogroups.com
Objet : Re: [IBO] Pb with transaction


Boris,

> 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.

What are the versions of the stuff you are using? Delphi? IBO? etc?

What is the callstack of the error?

Thanks,
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com