BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Handling data updates "Client-to-Client"

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (dbExpress)
View previous topic :: View next topic  
Author Message
Gabriel Covert
Guest





PostPosted: Mon Apr 12, 2004 5:14 pm    Post subject: Handling data updates "Client-to-Client" Reply with quote



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





PostPosted: Tue Apr 13, 2004 12:36 am    Post subject: Re: Handling data updates "Client-to-Client" Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (dbExpress) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.