Page Count Error

  • Follow


I have a 4 page report. I use the default Page Count function. It prints:

Page 1 of 3
Page 2 of 3
Page 3 of 3
Page 4 of 3

How does one correct this error?

OldEd  
0
Reply OldManEd 3/29/2010 1:46:00 PM

This is likely to happen if you have code that suppresses or duplicates 
sections of the report (e.g. setting the report's runtime properties such as 
NextRecord, MoveLayout.) It happens because Access doesn't run the events 
for all the intervening pages, i.e. it calculates the number of pages 
without executing the code that can change the number of pages required.

There can be other causes, but here's a common example:
    Print a Quantity of a Label
at:
    http://allenbrowne.com/ser-39.html

-- 
Allen Browne - Microsoft MVP.  Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.


"OldManEd" <econgleton@snet.net> wrote in message 
news:eNVugY0zKHA.4656@TK2MSFTNGP05.phx.gbl...
> I have a 4 page report. I use the default Page Count function. It prints:
>
> Page 1 of 3
> Page 2 of 3
> Page 3 of 3
> Page 4 of 3
>
> How does one correct this error?
>
> OldEd 

0
Reply Allen 3/29/2010 3:02:06 PM


1 Replies
155 Views

(page loaded in 0.059 seconds)


Reply: