I have a question...
This has been put on this NewsGroup earlier today but since I don't see it
appear (4 hours later) and this is my first try of using a newsgroup, I
must assume I did something wrong(?)...
When inserting a record in a table with an autoincrement field (the
primary key), either by a TTable or TQuery, how can you retrieve the value
of this field?
Using: Delphi 2.0, with DB's: Paradox, InterBase and Sybase (XI)... all
"behave" the same in this respect.
I want to implement a master-detail relation. When a record is inserted in
the master and details are added, I want to be able to cancel the whole
transaction, details and master. To insert the details I need the number
of the master.
Any help is greatly appreciated,