Re: ADO - ClientDataSet - Master/Detail
- From: "Davide Pasqualini" <bytetech@xxxxxxxxx>
- Date: Fri, 22 Sep 2006 17:51:47 +0200
"Bill Todd" <no@xxxxxx> ha scritto nel messaggio
news:4513f746$1@xxxxxxxxxxxxxxxxxxxxxxxxx
Davide Pasqualini wrote:
So, my question is: How new detail records can get the master value ?
If I understand you correctly, you have to assign the primary key of
the master to the foreign key of each new detail record.
--
Bill Todd (TeamB)
Yes.
in the article http://bdn.borland.com/article/27146 and at the end of the
paragraph "TClientDataSet_1 Who needs cached updates?"
is written ....
a.. New detail records now get the master value.
a.. Detail records will not disappear.
a.. Changes to the master do not affect detail records (other than primary
key changes).
So, I don't understand whats wrong in my code.
Davide
.
- References:
- ADO - ClientDataSet - Master/Detail
- From: Davide Pasqualini
- Re: ADO - ClientDataSet - Master/Detail
- From: Bill Todd
- ADO - ClientDataSet - Master/Detail
- Prev by Date: Re: Delphi 6 - ADO - MS SQL Server
- Next by Date: Re: Delphi 6 - ADO - MS SQL Server
- Previous by thread: Re: ADO - ClientDataSet - Master/Detail
- Index(es):
Relevant Pages
|