Subject Re: [IBO] generator increments by 3
Author Daniel Rail
Hi,

At December 30, 2003, 02:03, René J. Belland wrote:

> When I run the program, the generator is incremented by 3 each time I click
> the button. Why is this?
> If I use a TIBODatabase and use it to control the transaction, then the
> generator increments properly (ie, by one each time).
> Should a TIB_Connection component not be used with the Tdataset compatible
> components?

Yes, you can use it. I only use TIB_Connection with the TDataset
descendants. Have you looked at the TIB_Connection.Gen_ID method? It
does what you are trying to do with a query.

--
Best regards,
Daniel Rail
Senior System Engineer
ACCRA Group Inc. (www.accra.ca)
ACCRA Med Software Inc. (www.filopto.com)