• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 554
  • Last Modified:

Suppress group header when forcing extra page in report

Working on a long report which prints duplex to save paper.  However the client wants each group to begin on an odd page, so we can insert dividers into the report.  

I've added code which prints a pagebreak in the group footer if the footer is on an odd numbered page.  That part works great.  But the even numbered page that prints when this occurs contains the group header, which is set to repeat.

How do I suppress the group header from printing when this extra pagebreak is being printed?
I've tried setting the group header visible property to False, and changing the RepeatSection property but neither of these is working, at least not in print preview mode.
0
Dale Fye
Asked:
Dale Fye
1 Solution
 
peter57rCommented:
Haven't tried this but I would guess you would switch 'repeat section' on and off as required.

In the group header print event procedure.

Me.Section.RepeatSection = True

and in the group footer set it to false.
0
 
Jeffrey CoachmanMIS LiasonCommented:
0
 
hnasrCommented:
If issue persists, attach a simple report reproducing the issue with suitable test data.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
Dale FyeAuthor Commented:
Guys,

Have not forgotten you, just got retasked and have not had a chance to play with the recommendations.  Will hopefully get back to this tomorrow.
0
 
Jeffrey CoachmanMIS LiasonCommented:
ok
0
 
Dale FyeAuthor Commented:
Jeff,

This was precisely what I was looking form.  Thanks.

Dale
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now