 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Gabriel Covert Guest
|
Posted: Mon Apr 12, 2004 5:14 pm Post subject: Handling data updates "Client-to-Client" |
|
|
Following the directions in the "Assigning Data Directly" topic in the
Delphi help, I have created an application with two TClientDataSets, one
source, one target, and a TDataSetProvider that acts as an intermediary
between the two.
The question I have is: If both ClientDataSets have changes in their
ChangeLog, then when I call the DSP's ApplyUpdates with the source's Delta
as an argument, the target record is retained. How would I apply the
source's changes to the targets changelog, using the DSP's AppyUpdates
method? Would I handle it in the BeforeUpdateRecord? Would I just iterate
through the fields and set the SourceDS's values to the DeltaDS's values?
Gabe
|
|
| Back to top |
|
 |
Bill Todd (TeamB) Guest
|
Posted: Tue Apr 13, 2004 12:36 am Post subject: Re: Handling data updates "Client-to-Client" |
|
|
Your question is not clear. Regarding Delta, the on-line help says
"When you copy the Data property of another client dataset, you copy
the change log as well, ..."
--
Bill (TeamB)
(TeamB cannot respond to questions received via email)
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|