Problem with Printing X of Y pages

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

Problem with Printing X of Y pages

Post by suby » Sat Nov 06, 2004 9:50 am

Hi guys____I am trying to print X of Y pages using R&R Report Writer 6.5__I went through the Technical Bulletin "Printing Page Number X of Y.pdf" by R&R Writer and have followed all the steps mentioned in it correctly. Infact, I even managed to get the total number of pages, BUT I only get it when I preview it from within the writer. When I try displaying the report using RRWRUN.EXE I dont see the total number of pages. What could be the problem ? Please help.__Also if there is any other technical document to achieve this specifically in ver 6.5, kindly guide me to it.____Regards____Suhaib

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

=> Problem with Printing X of Y pages

Post by kfleming » Mon Nov 08, 2004 7:37 am

The best solution is to upgrade to the latest release where there is a function that will return the total number of pages in a report.____Kathleen__R&R Support

Colin_Brodie_(Guest)
Posts: 7
Joined: Tue Oct 10, 2017 12:44 pm

==> Problem with Printing X of Y pages

Post by Colin_Brodie_(Guest) » Fri Feb 18, 2005 5:46 am

Well, even in version 9 of RR Liveware have failed completely to grasp the proper application for this function.____Yes, there is a LASTPAGE() function that returns the total amount of pages in a report. But in real life I want to produce loads of reports at once with one runtime call on RR.____However in their infinite wisdom Liveware have successfully ignored the need for a function like lastpage() that can be reset with each record.____So, if one report comes out as 2 page and the next report comes out as 3 page we should get Page 1 of 2, Page 2 of 2, Page 1 of 3, Page 2 of 3, Page 3 of 3 etc etc etc.____As it is we have to call out reports individually as we have no way of telling how long a report is. It is a requirement for us to maintain our accreditation with an ISO standard that any reports we put out must have Page X of Y. It is for this reason alone that we have not and will not upgrade any further than version 9 until we see some evidence of improved function rather than ParameteRR fields that we find utterly pointless.____Sorry for the grumpy tones but I cant beleive that this has not been addressed yet____Colin Brodie__Aberdeen__

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

===> Problem with Printing X of Y pages

Post by kfleming » Fri Feb 18, 2005 8:25 am

I just did a quick test of 4 reports using a dbf runtime control table. Each report for me correctly did a page 1-last page numbering.____Are you indeed running separate control file records and does each report work correctly if run separately?____Kathleen__R&R Support

Colin_Brodie_(Guest)
Posts: 7
Joined: Tue Oct 10, 2017 12:44 pm

====> Problem with Printing X of Y pages

Post by Colin_Brodie_(Guest) » Mon Mar 07, 2005 5:27 am

We have an Information Management System that passes a sample number range to RR report writer. RR launches in the background and produces a report that is grouped on sample number. When we examine the preview screen the LASTPAGE() function always has the total number of pages that will be spat out of the printer rather than the total number of pages for that particular sample number. Is there any way of getting a Page X of Y setup where both X and Y are variable and also where many sample numbers could be passed to RR in one go. If there is please explain how to do it.____Regards____Colin Brodie

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

=====> Problem with Printing X of Y pages

Post by kfleming » Mon Mar 07, 2005 11:54 pm

Is what you are looking for a page x of y that resets for each group rather than per report?__That functionality is not currently available.____Kathleen__R&R Support

Colin_Brodie_(Guest)
Posts: 7
Joined: Tue Oct 10, 2017 12:44 pm

======> Problem with Printing X of Y pages

Post by Colin_Brodie_(Guest) » Tue Mar 08, 2005 1:05 pm

This is precisely what we want. At the moment it means that every report is done singly. This is not as tedious as it sounds for we have included the call on RR at a stage of checking and approving the samples that is appropriate BUT we still have to select the printers with every single report. But if we could do it all as a batch that would be really good. It would streamline things for us by a fair margin. It is the lack of this functionality that stops us from upgrading and the apparent unwillingness to incorporate it because it is deemed not important enough. If this is easy to do from a coding point view why not include it?______Regards____Colin Brodie

Colin_Brodie_(Guest)
Posts: 7
Joined: Tue Oct 10, 2017 12:44 pm

=======> Problem with Printing X of Y pages

Post by Colin_Brodie_(Guest) » Tue Mar 08, 2005 1:10 pm

Further to this, this lack of functionality has been pointed out for a long time and has resulted in RR no longer being a recommended report writer by our database supplier. This is a shame as in my opinion RR is better in other aspects than the, now recommended, report writer.______Colin Brodie

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

=======> Problem with Printing X of Y pages

Post by kfleming » Tue Mar 08, 2005 3:33 pm

The code to make this happen is not an easy to do or we would have incorporated it when we added the LASTPAGE() function. It is on the enhancement list for a future release but is just not there right now.____Kathleen__R&R Support

Post Reply