Results 1 to 11 of 11
  1. #1
    pocans is offline Novice
    Windows 10 Access 2016
    Join Date
    Mar 2018
    Posts
    10

    Report Footer


    I have a report with a page footer and a report footer. If the report is only one page the page footer is on page one and the report footer is pushed to an empty second page. I have property Page Footer: 'Not with Prt Ftr'. If the report is only one page is there a way not to display the page footer and have the report footer on the first page.

  2. #2
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,974
    Use the report Pages property

    Try this - not tested

    Code:
    Private Sub PageFooterSection_Format(Cancel As Integer, FormatCount As Integer)
    
    If Me.Pages>1 Then
    Me.PageFooterSection.Visible=True
    Else
    Me.PageFooterSection.Visible=False
    End If
    
    End Sub
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

  3. #3
    pocans is offline Novice
    Windows 10 Access 2016
    Join Date
    Mar 2018
    Posts
    10
    This only make the page footer not visible. All this does is make the footer on page 1 blank and it still displays the report footer on the second page.

  4. #4
    pocans is offline Novice
    Windows 10 Access 2016
    Join Date
    Mar 2018
    Posts
    10
    So more information. The report footer is forcing a new page no matter how many pages, how do you stop this from happening?

  5. #5
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,900
    What is the report footer ForceNewSection property set to?
    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.

  6. #6
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,974
    Various things to check

    1. Have you got a page break control on your report - it look with a short dotted line
    2. As June has already mentioned check the report footer settings:
    Set Force New Page = None & Keep Together = No
    3. Detail section - exactly the same as above
    4. Page Footer section - Auto Height = Yes
    5. Reduce the page margins at top & bottom
    6. Move controls up slightly to reduce height of each section

    Setting Force New Page = None and Keep Together = No for the footer section may be the most important
    If part of the footer now appears on page 1 and the rest on page 2, then steps 5 & 6 should now fix it
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

  7. #7
    pocans is offline Novice
    Windows 10 Access 2016
    Join Date
    Mar 2018
    Posts
    10
    currently the report footer's ForceNewSection property is set to none

  8. #8
    pocans is offline Novice
    Windows 10 Access 2016
    Join Date
    Mar 2018
    Posts
    10
    Quote Originally Posted by ridders52 View Post
    Various things to check

    1. Have you got a page break control on your report - it look with a short dotted line
    2. As June has already mentioned check the report footer settings:
    Set Force New Page = None & Keep Together = No
    3. Detail section - exactly the same as above
    4. Page Footer section - Auto Height = Yes
    5. Reduce the page margins at top & bottom
    6. Move controls up slightly to reduce height of each section

    Setting Force New Page = None and Keep Together = No for the footer section may be the most important
    If part of the footer now appears on page 1 and the rest on page 2, then steps 5 & 6 should now fix it
    I set all of these and it stayed the same. But I was playing around with it. lets say I have a 2 page report. page 1 and 2 I see the page footer and page 3 report footer with a blank page.

    If I set my report footer visibility to false and keep page footer to true, page 1 has the page footer and page 2 has no footer and the 3rd page is gone.
    If I set my page footer visibility to false and my report footer to true, page 1 and 2 have no page footer and the 3rd page has the report footer with a blank page.

  9. #9
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,974
    Can you please do two screenshots of your original report
    Design view and then print preview showing two pages side by side
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

  10. #10
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,900
    I do not get this issue with my report. So post either screen shots or the database. 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.

  11. #11
    pocans is offline Novice
    Windows 10 Access 2016
    Join Date
    Mar 2018
    Posts
    10
    Thanks for everyone's help. I ended up going a different way. since there was not a lot of extra information I needed on the last page I ended up getting rid of the report footer. Hid the information that needed to be shown on the last page and made them visible in the format of the page footer
    if the page = me.pages
    me.item1.visible = true
    me.item2.visible = true
    end if

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

Similar Threads

  1. Replies: 2
    Last Post: 12-08-2017, 11:17 AM
  2. Replies: 1
    Last Post: 10-14-2016, 07:00 AM
  3. Force Report Footer to before Page Footer
    By Charles CL in forum Reports
    Replies: 15
    Last Post: 01-21-2016, 12:06 PM
  4. Replies: 5
    Last Post: 08-26-2015, 05:23 PM
  5. Replies: 2
    Last Post: 12-21-2013, 02:09 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