Have 2 MasterData bands

Hello

I use FastReports 2.53 and my report contains in this order :

-MasterData band

-HeaderDetail data band
-DataDetail band

-HeaderDetail data band
-DataDetail band

-HeaderDetail data band
-DataDetail band

-MasterData band

Can I have 2 MasterData bands in my report ? Because I have a bug when I preview, the details band are repeated.

Any one can help my please ?

Comments

  • edited 6:49AM
    up
  • edited 6:49AM
    Add new page(set PrintToPrevPage property to true) and place second master data on new page.
  • edited 6:49AM
    Thanks Den but It doesn't works. I added a new page and set PrintToPrevPage to true. I placed master data in second page.

    I want this :

    -MASTER 1
    -DETAILS 1
    -DETAILS 2
    -DETAILS 3
    -MASTER 2

    I would like to know if it's possible because with your solution I got :

    -MASTER 1
    -DETAILS 1
    -DETAILS 2
    -DETAILS 3

    the last page contains all records instead of on record by page.

    FastReport 2.5 seems to be limited to MASTER-DETAIL...DETAIL but it cannot works with MASTER-DETAILS-MASTER ?

    Can I do it with SubReport objects ? How to use it in my case ?
  • edited 6:49AM
    I can create example with single data.
  • edited 6:49AM
    wrote:
    I can create example with single data.
    Can you send me your example please ? I want this :

    Master1: name, first name, address etc...
    Detail1
    Detail2
    Detail3
    Master2: use the same datasource than Master1

    Thanks you very much ;)
  • edited 6:49AM
    You want show all recods in Master2?

    Master1: datasource1 1 record
    Detail1
    Detail2
    Detail3
    Master2: datasource1 1 record
    Master2: datasource1 2 record
    Master2: datasource1 3 record
    Master2: datasource1 ... record
    Master2: datasource1 Last record

    Master1: datasource1 2 record
    Detail1
    Detail2
    Detail3
    Master2: datasource1 1 record
    Master2: datasource1 2 record
    Master2: datasource1 3 record
    Master2: datasource1 ... record
    Master2: datasource1 Last record

    OR

    Master1: datasource1 1 record
    Detail1
    Detail2
    Detail3
    Master2: datasource1 1 record

    Master1: datasource1 2 record
    Detail1
    Detail2
    Detail3
    Master2: datasource1 2 record

  • edited 6:49AM
    I have the same problem(me thinks so)

    I have 1 master and 1 detail band. What i need is

    Master1
    Detail1.1
    Detail1.2
    Detail1.3
    Master2
    Detail2.1
    Detail2.2
    Detail2.3
    Master3
    Detail3.1
    Detail3.2
    Detail3.3

    what i get is

    Master1
    Detail1.1
    Detail1.2
    Detail1.3
    Detail2.1
    Detail2.2
    Detail2.3
    Detail3.1
    Detail3.2
    Detail3.3
    Master2
    Detail1.1
    Detail1.2
    Detail1.3
    Detail2.1
    Detail2.2
    Detail2.3
    Detail3.1
    Detail3.2
    Detail3.3
    Master3
    Detail1.1
    Detail1.2
    Detail1.3
    Detail2.1
    Detail2.2
    Detail2.3
    Detail3.1
    Detail3.2
    Detail3.3

    how would you recomend to solve this problem ?


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.