Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Reports / Printing / January 2006

Tip: Looking for answers? Try searching our database.

Can I print report footer at end of page

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John - 02 Jan 2006 18:38 GMT
I have an invoice report which can have varying amounts of purchases,
sometimes extending over several pages. I have the totals for each invoice
in the footer section of the report. My problem is that the footer will
display directly underneath the last item in the detail section which can be
anywhere on the page.
Is it possible to have the footer print at the bottom of whichever page it
appears. Or alternatively to display the totals in the page footer of the
last page.

Thanks
JOhn
Marshall Barton - 02 Jan 2006 19:12 GMT
>I have an invoice report which can have varying amounts of purchases,
>sometimes extending over several pages. I have the totals for each invoice
[quoted text clipped - 4 lines]
>appears. Or alternatively to display the totals in the page footer of the
>last page.

The real problem is that you are trying to imitate a
handwritten paper invoice that had spaces for purchases and
the total at the end of the blank lines.  Other than old
thoughts about how it used to be done, there is nothing
wrong about the totals appearing after the last purchase.  
But, your company is probably not going to change its mind
about that, so you are stuck trying to munge your report to
have the traditional look.

There are a couple of convoluted approaches to this, but I
think using the Page footer is the easiest.  For each text
box in the report footer, add a text box to the page footer.
Make these text boxes invisible so they don't show on any
other than the last page.  Set their control source
expression to   =corresponfingreportfootertextbox

Now, to make this visible on the last page, you need a text
box somewhere in the report that refers to the Pages
property (the usual  =Page & " of " & Pages text box is fine
for this purpose).  The you can add code to the page footer
Format event to make the text boxes visible on the last
page:

    If Me.Page = Me.Pages Then
        Me.txta.Visible = True
        Me.txtb.Visible = True
            . . .
    End If
Signature

Marsh
MVP [MS Access]

John - 04 Jan 2006 00:10 GMT
Thanks, I'll give that a try.

John

>>I have an invoice report which can have varying amounts of purchases,
>>sometimes extending over several pages. I have the totals for each invoice
[quoted text clipped - 34 lines]
> . . .
> End If
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.