Subject Transaction with master-child relationship
Author Alfred Seetoh
Hi,
I encounter a *scratch-head* reaction with my master-child
relationship transaction. My master and child tables are CUSTOMER and
ADDRESS respectively. I've set their relationship according to the
TransactionsHandling tutorial lesson 2.

Info on child IB_Query:
MasterLinks: ADDRESS.ID=CUSTOMER.CUST_ID
MasterSource: DSCustomer

Both IB_Query are using DMMain.TransactionMain as the IB_Transaction.

In my form, I display a single customer and multiple addresses (in a
TIB_Grid). I have an 'Ok' button that does the following code when
clicked:
DMMain.TransactionMain.Commit;

If I update the master information, and click Ok, it works fine.
However if I update the child information, no matter how many times I
click the Ok button, it just won't commit;

I then dropped a TIB_TransactionBar component into the form. Then
update the child info, click the Commit button of the
TIB_TransactionBar, and it works.

Anybody can tell me what am I missing here?

I'm using Delphi 6, FireBird 1.5 RC7, IBO 4.3A, Win2k.

Thanks
Alfred