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 

how could I impove the performance with DataSetProvider + AD

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





PostPosted: Fri Jul 15, 2005 10:31 am    Post subject: how could I impove the performance with DataSetProvider + AD Reply with quote



Hello,

The access speed is normal for plain tables.
But with relathionships master/details this time is highly incremented.

If I check the poFechtDetailsOnDemand the time is the same.
It fetchs all details records always !!!

For solve it I could use a ClientDataSet for master without any
relathionships
but I will need synchronize two ClientDataSet (with all relathionship and
without relationship)

How Could I synchronize two ClientDataSet in this scenario:

User delete one record in CDS1.
User insert new record in CDS1.

CommitChanges

Now, I want update CD2 but without requery
is it possible ?

regards


Back to top
Bill Todd
Guest





PostPosted: Fri Jul 15, 2005 1:59 pm    Post subject: Re: how could I impove the performance with DataSetProvider Reply with quote



Delete the same record from CDS2 in code and insert the new record into
CDS2 in code.

--
Bill Todd (TeamB)


Carlos wrote:

Quote:
Now, I want update CD2 but without requery
is it possible ?

Back to top
Carlos
Guest





PostPosted: Fri Jul 15, 2005 2:22 pm    Post subject: Re: how could I impove the performance with DataSetProvider Reply with quote



Ok. but it is a manually proccess.
Not exists any methods for sync ?

"Bill Todd" <no (AT) no (DOT) com> escribió en el mensaje
news:42d7c15e$1 (AT) newsgroups (DOT) borland.com...
Quote:
Delete the same record from CDS2 in code and insert the new record into
CDS2 in code.

--
Bill Todd (TeamB)


Carlos wrote:

Now, I want update CD2 but without requery
is it possible ?



Back to top
Bill Todd
Guest





PostPosted: Fri Jul 15, 2005 3:48 pm    Post subject: Re: how could I impove the performance with DataSetProvider Reply with quote

You can copy all of the data (but not the unapplied changes) with:

Cds2.Data := Cds1.Data;

--
Bill Todd (TeamB)
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (ADO) 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.