Subject Re: [IBO] Instructions sequence (2nd post)
Author Lele Gaifax
>>>>> On Mon, 03 Feb 2003 12:32:25 -0000, "Fabio Bot <fabiobot@...>" <fabiobot@...> said:

>>> with IB_Cursor do begin Prepare; if not
>>> IB_Transaction.InTransaction then
>>> IB_Transaction.StartTransaction; <--- THIS MUST BE DONE BEFORE
>>> THE PREPARE.

Fabio> Why need starts transaction always before prepare? The
Fabio> instructions sequence below is wrong?

Because *anything* you can do with a Firebird DB (accessing it through
the server, I mean :) must happen inside a transaction. That's the way
FB works.

ciao, lele.
--
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
email: lele@... | -- Fortunato Depero, 1929.