page 2

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hey all,

i have generated invoices for several customers and one of the customers has
line items that go to page 2. Here's my question: In the case of an invoice
having two or more pages, is there a way to suppress the page footer so it
will print on the last page?

thanks,
rodchar
 
rodchar said:
i have generated invoices for several customers and one of the customers has
line items that go to page 2. Here's my question: In the case of an invoice
having two or more pages, is there a way to suppress the page footer so it
will print on the last page?



To check if you're on the last page, compare the Page and
Pages property. To make the Pages property available, you
have to use it in a text box somewhere in the report (a
=Page & " of " & Pages text box is fine).

The code in the page footer section's Format event would be:

Me.Section(4).Visible = (Me.Page = Me.Pages)
 
Back
Top