John ha scritto:
Alvise Nicoletti wrote:
Hi... this is the complete code I'm using to extract the
last_insert_id from the table TABLE1, but it still don't works.
Infact I get always 0 from the variable "id_ingresso", pheraphs in
the database the row is correctly inserted.
Hi Alvise,
I haven't gone through you example completely, but try doing the same
thing by generating the sql text on the fly instead of using
parameters. I was unable to get anything to work using parameters when
I last tried a few months ago.
cheers,
John
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives
I tryed but that wasn't the problem... With delphi+zeoslib the (nearly)
same code works, so I suppose I found some kind of bug...
How can I debug this?
I tryed, as you see in the code, to handle the transaction like if it's
only one block of operations...
... Maybe there is an implicit commit after the query execution that I
don't know how to remove?
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives