Subject HELP - IBObjects Sequence

I'm using IBObjects 4.X and Delphi 6.0.
I would like to know how can a implement a
sequence in a InterBase table, using IBO.
There's a example:

I have a table A, with a PK --> ID (Integer)

When I'm inserting a new row, when a click the
insert key, I would like to see the next ID. The
problem is, that other users could insert a new
record too.

Now the question is: How can I resolve this
situation? Right now, I'm using a generator. But
if I cancel the insertion, I can't undo the
If anyone have a idea to solve this problem,
please awnser this message.

Best regards,

Rui Batista

Crie o seu Email GrĂ¡tis no Clix em