Results 1 to 7 of 7
  1. #1
    meena is offline Novice
    Windows 8 Access 2013
    Join Date
    Jul 2014
    Posts
    13

    I want page break functionality after every sub reports


    I am creating a report with multiple sub reports. I need each of these sub report to be printed on a new page. How do I do this. Please help.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    Could try a page break control.
    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
    meena is offline Novice
    Windows 8 Access 2013
    Join Date
    Jul 2014
    Posts
    13
    And how do I do that.. I am sorry very very new to access.

  4. #4
    meena is offline Novice
    Windows 8 Access 2013
    Join Date
    Jul 2014
    Posts
    13

    Pagebreak After Every Subreports

    I have put all sub reports in one main report. I have passed one parameter called "Report Name" which contains the list of sub reports along with "All" option. on the basis of this parameter the subreport get displayed. Now I want page break functionality after every sub reports. And if the subreport doesn't contain any data than it should not put any blank page in between. Can any one help me with this?

  5. #5
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    Just like a textbox, it's a control on the ribbon design tab. In 2010 it's between the OptionGroup and Combobox controls, looks like 2 pages with an arrow between them. Click and drag to the form.
    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
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902

    Suppress Hard Page Break Control

    For not producing blank page, I had this issue and finally decided to allow the page with a label stating "No data".

    Here is what I do. Have label on report with caption. If subreport does not have data, then display the label.

    Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
    Me.lblOU.Visible = Not Me.ctrOU.Report.HasData
    Me.lblCO.Visible = Not Me.ctrCO.Report.HasData
    Me.lblRC.Visible = Not Me.ctrRC.Report.HasData
    End Sub

    Or maybe this will work for you http://www.tech-archive.net/Archive/.../msg00262.html
    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.

  7. #7
    meena is offline Novice
    Windows 8 Access 2013
    Join Date
    Jul 2014
    Posts
    13
    Quote Originally Posted by June7 View Post
    Just like a textbox, it's a control on the ribbon design tab. In 2010 it's between the OptionGroup and Combobox controls, looks like 2 pages with an arrow between them. Click and drag to the form.
    Thanks a lot... It worked as I wanted ... Thank you :-)

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

Similar Threads

  1. Report with page break appears with a blank page, why?
    By clebergyn in forum Programming
    Replies: 4
    Last Post: 02-24-2014, 12:32 PM
  2. Replies: 5
    Last Post: 04-16-2013, 09:58 AM
  3. Page break
    By remigio in forum Forms
    Replies: 2
    Last Post: 08-23-2012, 07:59 AM
  4. Page Header & Forced Page Break
    By Donnydon in forum Reports
    Replies: 1
    Last Post: 09-08-2011, 08:24 AM
  5. Page break on report inserts empty page between
    By Galadrielle in forum Reports
    Replies: 0
    Last Post: 07-07-2010, 04:18 AM

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