Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread Inserting Master-Detail Records with Generated IDs
Thu, Feb 11 2010 4:29 AMPermanent Link

Richard Harding
Tim,

I am using EDB V2.03b7 with Delphi 2007.

I have a program that is 6 years old (using DBISAM and EDB from version 1) which has been
working OK.

It has 3 tables (lets say Table1, Table2, Table3) defined as Master-Detail tables.  Each
table has generated (BY DEFAULT) integer IDs.

If the application inserts a new record into Table2 then the AfterPost event shows
Table2.ID having the value of the ID of the last row not the new ID value.  When inserting
the first record of Table2 for each record of Table1 then Table2.ID does show the new ID
value.

Reverted back to EDB V2.03b6 and it works as expected.  Reinstalled EDB V2.03b7 and
obtained the same results.  Back to EDB V2.03b6 and working OK.

Is this the same problem that Sorin raised?


Richard Harding
Thu, Feb 11 2010 1:54 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Richard,

<< Is this the same problem that Sorin raised? >>

Possibly.  However, did you try this with build 8 ?  There were some issues
with ranges in build 7, and those are used for the M-D links.

--
Tim Young
Elevate Software
www.elevatesoft.com

Fri, Feb 12 2010 5:03 AMPermanent Link

Richard Harding
hi TIm,

Installed version 2.03b8 and it is all working - which is good.

Richard Harding
Mon, Feb 15 2010 1:37 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Richard,

<< Installed version 2.03b8 and it is all working - which is good. >>

Good, thanks for the update.

--
Tim Young
Elevate Software
www.elevatesoft.com

Image