Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unidirection problem

Status
Not open for further replies.

kk12345

Programmer
Oct 14, 2008
2
GB
Hi,
I have an application developed in Delphi7.0 and having a database connection using dbExpress.(Database is SQLServer) The result Dataset is a TDataset and is having a problem with Unidirection. How can I convert the result TDataset to TClientDataset to avoid Unidirectional problem?

Regards,
Kris.
 
Use the DataSetProvider component which you will find in the Data Access components tab (the same tab that you got your Client Data Set component).

DataSetProvider provides the link between a uni-directional dataset such as a dbExpress TSQLDataset and a Client Dataset.

Set the ProviderName property in the CDS to point to the DataSetProvider. Set the DataSet property in the DataSetProvider to point to the dbExpress TSQLDataset.






Andrew
Hampshire, UK
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top