Additional
dbCAP
AnyDAC
ThinDAC
NCOCI8
Topic: Converting TClientDataset t TADClientDataset
Converting TClientDataset t TADClientDataset
Posted: 2007/04/14 22:18
 
I am trying to convert a clientdataset application and will like to know the equivalent of the following in TADClientDataset:

cds.SetProvider
cds.LoadFromStream
cds.SaveToStream

Thanks,
Dorcas
Re:Converting TClientDataset t TADClientDataset
Posted: 2007/04/16 01:00
 
Hello

1) SetProvider
In AnyDAC does not exists "provider". But there exists ADTableAdapter. So, set ADClientDataSet.Adapter to ADTableAdapter. Table adapter allows you to specify SQL commands. See AnyDAC demos for details.

2) LoadFromStream / SaveToStream
Right now streaming is not implemented. But it is for me top priority task. Because it is needed in AnyDAC and in ThinDAC.

Regards,
Dmitry