Problem with master-detail and tclientdataset.

I have a problem with master-detail and tclientdataset.

I have 2 TClientDataset components with company information in ds1 and employees in ds2. The column ID should link them together.

I am inserting information into the TClientDatasets manually at runtime.
And I don't have any database connection to the Clientdataset.

When I try to link the to DS in design time, I get an error: Missing data
provider.

Is it posible to link this to DS in designtime without a database
connection?

Any suggestions? It is not possible to have a database connection on this
system.

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 3:12PM
    the usual connection would be tclientdataset> tdatasource> frxdbdataset
    tclientdatasets should have mastersource properties set.
    the error is a delphi generated error and you probably have something set in the tclientdatasets to connect to a remote server rather than using local data.
    read your delphi documentation on using local data in the tclient dataset.

Leave a Comment