'Missing Data Provider or Data Packet' . what does this
error mean?
Answers were Sorted based on User's Feedback
Answer / nenad
Furthermore if you close and reopen the dataset you mut call
SetProvider for each new reopen.
Write and use a adaptor class and override the SetActive
method to call SetProvider to make this dbx requirement
transperent.
| Is This Answer Correct ? | 18 Yes | 6 No |
Answer / krishna kishore
When a Datasetprovider is assigned to a ClientDataset the
developer should explicitly specify the name of the
Datasetprovider as follows
DatasetProvider.Name := 'my_Provider';
ClientDataSet.ProviderName := DatasetProvider.Name;
If the name is not specified the error "Missing Data
Provider or Data Packet" occurs.
| Is This Answer Correct ? | 7 Yes | 15 No |
What are the different ways of defining array sizes?
Why do I get compile errors accessing the Sender object in events?
How to Convert from Long to Short file names and paths ?
How do abstract classes differ from interfaces?
How to Use Stored Procedures ?
How to use the InterBase API security functions to add, modify and delete users?
How to connect to an InterBase database using the BDE API?
How to Get a list of valid time zones from windows?
How to do Sorting on Calculated fields ?
How to create a dynamic array of TPoints to draw a polygon?
How to Print in Delphi without using the TPrinter Unit ?
Do I have to know a lot about the Windows API to use Delphi?