Results 1 to 4 of 4
  1. #1
    SFC is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jan 2011
    Posts
    47

    How do I not print a page in a report

    I have a report that the last page is in the footer section (a large footer that can take up a whole page). Is there a way that the footer section does not print based on a variable in a table? I would like it if a specific field in the table is "False" then the footer will not print, thus not printing the last page in my report.

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,597
    Maybe. Try code in the Format event of the footer section. I assume you mean the report footer.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    SFC is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jan 2011
    Posts
    47
    Hi June7,
    Thanks for the reply, I do mean the report footer. I tried a macro with no success and I'm just leaning code, do you know some code to get me started?

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,597
    I don't use macros, just VBA.

    Is this report displaying multiple records or filtered to a single record? Never done anything like this but try:

    Me.ReportFooter.Visible = Me.fieldname

    If that doesn't work and you want to provide db, will analyse for other solution. Follow instructions at bottom of my post.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Report print two records per page
    By dwilson in forum Reports
    Replies: 3
    Last Post: 07-21-2012, 10:48 AM
  2. Report doesn't print on 1/3 of the page
    By wubbit in forum Reports
    Replies: 2
    Last Post: 04-17-2012, 07:44 PM
  3. Replies: 3
    Last Post: 08-07-2011, 09:22 PM
  4. Replies: 4
    Last Post: 04-11-2011, 04:25 AM
  5. code to print just first page of a report
    By tonyrice in forum Reports
    Replies: 1
    Last Post: 02-14-2007, 03:07 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums