× 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: Re: page n of x
  • From: "Norm Dennis" <wmss@xxxxxxxxxxxx>
  • Date: Wed, 6 Sep 2000 23:19:04 +0800

Absolutely correct.
Which is why I suggested "pre-determined lines per page"
and given that there were no additional criteria mentioned
I offered a "simple calc".

Have a good one,

Norm

________________________________________________________
My web site is - http://www.iinet.net.au/~wmss - have a look around.


----- Original Message -----
From: "Richard Jackson" <richardjackson@richardjackson.net>
To: <RPG400-L@midrange.com>
Sent: Wednesday, 6 September 2000 21:28
Subject: RE: Re: page n of x


> Why is it that when explaining how there are 50 lines per page and total
> pages equals total records divided by lines per page, no one has taken
> subtotals or level break behavior into account?  If you print subtotals,
> they also take up space on the printed page.  The arithmetic to calculate
> the number of pages including subtotals and unusual behavior at level
breaks
> such as skip to top of form makes this calculation rather challenging.  If
> you run the report first just to get the total page count, the data could
> change during the first run and the second run and make the total number
of
> pages captured from the first run wrong.  There are only two ways to do
this
>
> a. the post-processing technique someone described with the tildes ~~~~~
> always gives the right answer.
>
> b. you can compute a number in advance then print "page X of roughly Y
> pages"
>
> Richard Jackson
> mailto:richardjackson@richardjackson.net
> http://www.richardjacksonltd.com
> Voice: 1 (303) 808-8058
> Fax:   1 (303) 663-4325
>
>
> Easy enough though, you must know the total number of records to be
printed
> and just do the maths based on pre-determined lines per page.
>
> Simple calc: 400 records to print divided by 50 lines per page gives you
the
> total number of pages.
>
> Have a good one,
>
> Norm
>

+---
| 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 ...

Replies:

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.