| View previous topic :: View next topic |
| Author |
Message |
Carlos Guest
|
Posted: Fri Jul 15, 2005 10:31 am Post subject: how could I impove the performance with DataSetProvider + AD |
|
|
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
|
Posted: Fri Jul 15, 2005 1:59 pm Post subject: Re: how could I impove the performance with DataSetProvider |
|
|
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
|
Posted: Fri Jul 15, 2005 2:22 pm Post subject: Re: how could I impove the performance with DataSetProvider |
|
|
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
|
Posted: Fri Jul 15, 2005 3:48 pm Post subject: Re: how could I impove the performance with DataSetProvider |
|
|
You can copy all of the data (but not the unapplied changes) with:
Cds2.Data := Cds1.Data;
--
Bill Todd (TeamB)
|
|
| Back to top |
|
 |
|