Combine two reports

Meeting place for R&R customers and clients to share tips and ideas. Post your questions, messages or problems here.
Post Reply
radhak
Posts: 58
Joined: Tue Oct 10, 2017 12:44 pm

Combine two reports

Post by radhak » Thu Feb 01, 2007 8:53 am

Kathleen,____I need to run two reports one after the other on the same go. The catch here is that the last page number of the first report should continue to the next report. Meaning if the first report has 6 pages and the second report has 9 pages, the first page should be 1 on the first report and the page number on the first page of the second page should be 7 and the last page should be 15.____The second question I have is that how do I combine two reports to print at the same time?____Your immediate response is much appreciated.____Thanks__Radha

kfleming
Posts: 5795
Joined: Tue Oct 10, 2017 12:44 pm

=> RE: Combine two reports

Post by kfleming » Fri Feb 02, 2007 10:58 am

You could use runtime to accomplish this. First you would run reportA. When the report completes, runtime updates the output status file with an RO_PAGES value to indicate how many pages were output.____In the second report, you create a calculated field that uses PAGENO()+the value from the RO_PAGES from the output status file.____If you use a DBF control file to run the report, then the second report can use a relation to that table.____The only bit of gotcha is that you cannot run the second report until the first one completes but there are various ways you could accomplish this.____Kathleen__R&R Support__

radhak
Posts: 58
Joined: Tue Oct 10, 2017 12:44 pm

==> RE: Combine two reports

Post by radhak » Fri Feb 02, 2007 11:30 am

Kathleen,____Thanks.____Will you be able to let me know in detail as to how I could accomplish this. My e-mail address is radhak@pacific.net.sg____Would appreciate your help on this.____Thanks and Regards__Radha

radhak
Posts: 58
Joined: Tue Oct 10, 2017 12:44 pm

===> RE: Combine two reports

Post by radhak » Fri Feb 02, 2007 12:38 pm

Kathleen,____How do I use Rapid Runner as a runtime like R&R Runtime? What are the files required to get it running?____How do you make values to be passed (Like RRParameter) to a report and use the same values in the second report which is part of the group.____ALl I want is for the program to request for a set of variables which is then passed on to every report belonging to that group and get it processed.____Is there any place I could find instructions as to how Rapid runner could be used.____Thanks and Regards__Radha

Post Reply