Problem with master-detail and tclientdataset.

edited 10:40AM in FastReport 4.0
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 10:40AM
    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

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.