2 Page Report
Hi, i have a report that had one page with a Master Data Band and several child bands. It work fine.
Now i added a second page that it will be printed with some of the same information of the Master Data Band of Page 1. In order to do that i added a Detail Data Band in Page 2 that points to the same data set as MasterDataBand of Page1.
When i run the report It print first all of the first pages (Page 1) and after that all of the second pages (Page2).
The problem is that i need to print Page1 then Page2 (of the same record) and then Page1 and Page2 (of the second record). I already set the Collate property to True and still didn't work
Can anyone give me a tip on how to solve this problem.
Thank's in advance for your help.
Now i added a second page that it will be printed with some of the same information of the Master Data Band of Page 1. In order to do that i added a Detail Data Band in Page 2 that points to the same data set as MasterDataBand of Page1.
When i run the report It print first all of the first pages (Page 1) and after that all of the second pages (Page2).
The problem is that i need to print Page1 then Page2 (of the same record) and then Page1 and Page2 (of the second record). I already set the Collate property to True and still didn't work
Can anyone give me a tip on how to solve this problem.
Thank's in advance for your help.
Comments
- put a SubReport on this Childband,
- set StartNewPage property of the Child to true,
- fill subreport page with Objects from Page2,
- don't connect bands on subreport page with your DataSet from page1, use virtual rows (count = 1) instead,
- delete Page2.
Hi again, thanks for your tip. Following these steps it already displays a white page. But the part where i have to use virtual rows i don't understandit How do you define the virtual rows ?
Also you can assign TfrxReport.Dataset with your dataset and place memos without bands on Page1, Page2