continue masterband after child band

edited December 2007 in FastReport 4.0
NOTE: title should be 'continue masterband after detailband' but i could not modify this anymore after submitting

Hi,

I'm evaluating fastreport for use in our system and so far i'm really impressed by its usability and performance. One thing that we really need though is the ability to make reports that have the following structure:

- masterdata (from masterdataset)
-- detaildata (from detaildataset 1)
- some more masterdata (from masterdataset)
-- detaildata (from detaildataset 2)
- some more masterdata (from masterdataset)
etc.

So i need a way put masterdata around the different detaildatasets. I'm sure there must be simple ways to do this in FR but I haven't yet discovered them. Can anyone help me?

Thanks, Gertjan (repelsteel)

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 10:45PM
    first read the usermanual on using the engine object.

    - masterdata (from masterdataset)
    -- detaildata (from detaildataset 1)
    detail footer may be 0 height use oap event for code to show child1
    engine.showband(child1);
    - some more masterdata (from masterdataset) place objects in childband unattached
    -- detaildata (from detaildataset 2)
    2nd detail footer may be 0 height use oap event for code to show child2
    - some more masterdata (from masterdataset) place objects in 2nd childband unattached


    another method is to write code in the oap event of the masterdband and assign the value of the datafields to the memo objects memo.text prop in the child bands.
  • gordkgordk St.Catherines On. Canada.
    edited 10:45PM
    I should also have pointed out that you may want to look at using header footer combinations.
    ie the header or footer of the detail set can have memos with data from the master record dataset.
  • edited 10:45PM
    gordk wrote: »
    I should also have pointed out that you may want to look at using header footer combinations.
    ie the header or footer of the detail set can have memos with data from the master record dataset.

    thanks gordk,

    I got it working (both ways).

    Gertjan (repelsteel)

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.