× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: Print Total Pages in Report
  • From: jpcarr@xxxxxxxxxxxx
  • Date: Fri, 9 Feb 2001 07:41:25 -0500


>Hello all,
>We have an RPG program to print a detailed report  .
>The page number in the report is done automatically using the
>reserve word PAGE in the 'O' spec.
>Now, our user wants to indicate the total Number of pages after the
>page number on each page, ie, 'to show " Page 1 of 3 Pages" etc.,
>instead of  "Page 1, Page 2......".
>
>Can anyone advice us of how to go about this in RPG program?
>
>Thanks in advance,
>Viji


Check the archives,   This thread went on for 6 weeks about a year ago.
I hope it doesn't go on that long this time.

Rule of thumb,   NO.    If you want to write more code than than 5 print
programs together just to say 1 of 3,  then  YES



+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.