Mega Code Archive

 
Categories / Delphi / ADO Database
 

Missing providername in tclientdataset

Question: I don't see entries in the TClientDataSet ProviderName property. What's wrong? Answer: On your server application, in the remote data module, right click your dataset (TTable, Tquery, etc) and select "Export [MyDataset] from data module". Rebuild the server application. You should now see the provider supplied in the list of the TClientDataset. "Exporting from data module" adds a "Get_MyDataset" function to the protected section of the remote datamodule's CoClass that returns an IProvider interface.