Subject Re: [IBO] How to get the record id that was just stored with a query
Author Florian Hector
>
> a 3rd way is to ask for the ID in the AfterInsert event with
> IB_Dataset.FieldByName('ID').AsInt64 := IB_Dataset.Gen_ID('GEN_name',10);
>
> Alan
>

This wouldn't necessarily be the value used for the insert when there
are others inserting data into the same table at the same time.

Florian