Mega Code Archive

 
Categories / Delphi / Examples
 

Using tclientdataset with local data

Question: Is it possible to use a TClientDataSetin a Local application with paradox tables without using a TProvider and a TRemoteServer? Answer: You can't get rid of the Provider, but you can use it in a single-tier application. In order to open the Client DataSet you assign the provider manually. CDS.Provider := Table1.Provider; CDS.Open; Also, make sure you include BDEProv in the uses clause.