This is one of those unfortunate "It depends what you are trying to achieve" situations.
 
If the TQuery, TDatasetProvider and TClientDataset are all wired together then the CDS is essentially working with live data - but needs updates applying. If you are using a TDataset provider - then presumably you are using the ClientDataset to do something the TQuery won't do -  a cached updates substitute or the ability to index on a calculated field?
 
As I say - it depends.
 
Max
 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of willie-Backup.co
Sent: Thursday, 20 April 2000 10:58
To: Multiple recipients of list delphi
Subject: [DUG]: TClientDataset

Hi,
 
I'm trying to come to terms with this and was wondering if anyone had some sample code (D4) of a simple single table maintenance form that uses a TClientdataset, TQuery, TDataSource, and TDatasetProvider that I could look at.
 
I'm having (extreme) difficulty working out how they all tie together, which things I should be updating i.e. should an OnNewRecord event be on the TQuery or the TClientDataSet..... etc etc
 
TIA

Reply via email to