delphi - Querying a TClientDataSet using a TADOQuery -
My question is very simple I have TClientDataSet which is connected to a TADOQuery via a TDataSetProvider. I can add data from TLDOQuery to TClientDataSet, but how do I get data from TClientDataSet in TADOQuery?
When I run the query and set it, the data is automatically transferred from TLDOQuery to TClientDataSet to correct the active property of TClientDataSet, but if I deactivate TADOQuery and then How can I retrieve data from TClientDataSet if I can activate it again?
I add multiple databases and TClientDataSet results to the same query. It is working fine. Now my problem is that I need to get the inserted result back from TClientDataSet in TADOQuery so that I can save TADOQuery's SaveToFile process ( For compatibility reasons). how can I do this?
I do not do TDoAquisition because I use dbExpress, but I think the same technique Need to use After posting your changes on TClientDataSet, call 'apply data (0)', which transfers the data from the customer's dataset to its provider.
Comments
Post a Comment