Главная страница | назад





Article #16217: Using TClientDataSet with local data

 Question and Answer Database
FAQ1217D.txt Using TClientDataSet with local data
Category :Multitier/Remote Datasets
Platform :All
Product :Delphi 3.x
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.
7/16/98 4:31:28 PM

Last Modified: 01-SEP-99