simple master detail report in embarcadero cbuilder.

edited December 2012 in FastReport 4.0
hi. im new to fastreports and have tried to make a master detail report in rad studio C++, it works in the sense that it shows the master and detail data,however all the detail data shows up for every record in the master table. how do i specify the relationship so that the master record with "levid" x will only show detail records with "levid" x and not all detail records?

the manual says i need to :

Set the
???MasterSource = DataSource1??? property in the ???Table2??? component on the (Delphi) form.
Now, we have set a ???master-detail??? connection. After that, we select the fields to link on.
Set the ???MasterFields??? property of the ???Table2??? component

i cannot find either of these properties in Cbuilder or delphi 2010 and XE3.


Comments

  • edited 4:34AM
    o.k. i think i have it working as it should now i created a datasource for the master dataset and specified that as the datasource of the detail set, then i doubleclicked on the masterfields property (of the detail ADODATASET, not the frxDBDataset) and set the right field for it.
  • edited 4:34AM
    mithcd wrote: »
    mithcd wrote: »
    i created a datasource for the master dataset and specified that as the datasource of the detail set

    Hi, I want to ask on where you got this? Is the tutorial available somewhere?

    the user manual:
    if it's not installed on your machine then just google: "fastreport 4 users manual"
  • gpigpi
    edited 4:34AM

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.