Subject | Auto-Increment and Rollback |
---|---|
Author | Gerson Machado - Yahoo |
Post date | 2004-10-27T11:58:45Z |
If I have a application in Delphi (version 7 with IBX 7.08) and execute
a Insert command (in a IBQuery in Delphi) but I change my mind and
Rollback the transactions, why the field (with generator to
auto-increment) in the table was add by 1, if my record was not write ?
What I need to do to can not add 1 when transations was rollbacked ?
I try to use IBObjects and happened the same thing.
Tks
Gerson
My FB is 1.5 (4481)
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.782 / Virus Database: 528 - Release Date: 22/10/2004
[Non-text portions of this message have been removed]
a Insert command (in a IBQuery in Delphi) but I change my mind and
Rollback the transactions, why the field (with generator to
auto-increment) in the table was add by 1, if my record was not write ?
What I need to do to can not add 1 when transations was rollbacked ?
I try to use IBObjects and happened the same thing.
Tks
Gerson
My FB is 1.5 (4481)
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.782 / Virus Database: 528 - Release Date: 22/10/2004
[Non-text portions of this message have been removed]