Page 1 of 1

How can i get id from recent append

Posted: Sat 27 Aug 2005 20:10
by vvitolo
hi,
sorry for my poor english.
This is my Question:
How can i get the ID field (Autoincremental) from one table in case of new Append one register within Transaction, in order to use in other table (one field of another table), without committing the information, because we use the same thread and transaction for create the new register in both tables.

Thank you in advance and
best regards

Victor

Posted: Mon 29 Aug 2005 08:10
by Ikar
After Post you can get value from TCustomMyDataSet.InsertId property

Posted: Tue 30 Aug 2005 23:24
by vvitolo
OK. Resolved. Thank you.