CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2010
    Posts
    2

    Two-sided paging problem

    My report needs to print on both sides of the paper, but one of the subreports that it calls must always start on the front, not the back, side of the page. The subreport is in a subfooter (Group Footer #3e), so I have a 'dummy' subfooter (Group Footer #3d) before it, with a formula stipulating New Page After if PageNumber mod 2 = 0. Since this doesn't seem to work, I also have a formula in Group Footer #3e stipulating New Page Before if PageNumber mod 2 = 0. Still doesn't work - it just merrily starts the subreport on the even-numbered page. If I print PageNumber in Group Footer #3e, (above where the subreport is invoked), it does display the even page number, so the formula should be forcing it to throw the page. This even-page-throwing formula works just fine in other parts of my report and within the subreport itself. Any ideas why it's not working in this particular case?

  2. #2
    Join Date
    Feb 2010
    Posts
    2

    Re: Two-sided paging problem

    The solution I finally arrived at was a combination of a conditional Suppression and conditional New Page After on Group Footer #3d as follows:
    Suppress If PageNumber mod 2 <> 0
    New Page After If PageNumber mod 2 = 0

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured