Two pages report template problem
Hi,
I created a template with two pages in it (Page 1 and Page 2). And what I want it to be printed is like (Page 1, Page 2),(Page 1, Page 2), (Page 1, Page 2)..., but unfortunately, what it turned out is (Page1, Page1, Page1....), (Page 2, Page 2, Page 2....).
Is that possible I can get this kind of printing result with 2-pages template?
Thanks.
I created a template with two pages in it (Page 1 and Page 2). And what I want it to be printed is like (Page 1, Page 2),(Page 1, Page 2), (Page 1, Page 2)..., but unfortunately, what it turned out is (Page1, Page1, Page1....), (Page 2, Page 2, Page 2....).
Is that possible I can get this kind of printing result with 2-pages template?
Thanks.
Comments
It's how FastReport works:
http://www.fast-report.com/documentation/U...reportpages.htm
You may generate a report several times to get Page1,Page2,Page1,Page2 order:
report.Prepare();
report.Prepare(true);
report.Prepare(true);
report.ShowPrepared();
Thx.
So if I want to create a report with 10 records, I have to split them into 10 datasources, then register and prepare them separately, like:
report.RegisterData();
report.Prepare();
report.RegisterData();
reprot.Prepare(true);
report.RegisterData();
reprot.Prepare(true);
......
report.ShowPrepared();
Is that right?
Regards.
I'm working on an invoice report, and one of the requirements is that, on the back of every page (through duplex printing) there needs to be some legal information.
I have the main invoice report working great, but I can't find a way to get a blank/dummy page (whilst I wait for the exact legal text) to be inserted between the report pages.
What I want to end up with is ReportPage1, LegalPage, ReportPage2, LegalPage, ReportPage3, LegalPage.......ReportPagen, LegalPage
Is there any way of achieving that?
HOWEVER, despite what you say and what your manual shows, collation does not work properly with letters! It has not worked in all the 10 years I have used various versions of FR and it is quite maddening.
If you have a report that only prints each page one time, it works as you describe in your guide. Where it breaks is in a batch of letters. If you have 5 letters, and you want to send a 2-page letter, FR prints all the page 1s first, then all the page 2s. It does not matter how I configure printer settings, if I select a 2-pass report, if I tell page 2 to print as the 'back page', etc. I have not found any way to make this very simple task function properly and I have wasted a lot of time trying.
Right now I have to work around the problem by pasting everything into one long page and then hope it goes to the next page in the right place. That isn't a good solution though, and users will never be able to figure out how to format in that way. It also just looks unprofessional that something every site needs to do on a daily basis can only be accomplished with a workaround like this.
I tried to attach a Word document with screenshots of how my bad 2-page form looks compared to my workaround 1-page form. I also tried to attach my bad form and my workaround form. However, both attempts to attach files resulted in 'Upload failed. Please ask the administrator to check the settings and permissions."
I would very much appreciate an answer to this, and it sounds like other people would too.
Thanks
Creating a mail merge letter and need the mailing address on the back, can't be accomplished selecting backpage or any other options in FastReport.