Page x of y

Kenneth Brody kenbrody at bestweb.net
Thu Oct 13 07:28:11 PDT 2005


Quoting Gary Olman (Wed, 12 Oct 2005 21:14:20 -0400):

> The most annoying problem I have is getting "page x of y pages" working
> on a filepro report . Filepro 5.0.14 windows XP. Every  thought I have
> works 90%. Does some one have a way of making this work 100% of the time?

Well, _if_ you don't use "remove unwanted blank lines", and _if_ you
don't have subtotal breaks, and _if_ you don't have any PRINT statements,
then you can take the number of records selected and divide by the number
of records that will fit per page, rounding up, to get the number of
pages that will be printed.

However, lacking all of the above conditions, you cannot know ahead of
time how many pages will be printed.

--
KenBrody at BestWeb dot net        spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com


More information about the Filepro-list mailing list