Print Page | Close Window

Skip page footer printing for group footer

Printed From: Crystal Reports Book
Category: Crystal Reports .NET 2003
Forum Name: Writing Code
Forum Discription: .NET 2003 programming API, report integration
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=359
Printed Date: 29 Apr 2024 at 2:54am


Topic: Skip page footer printing for group footer
Posted By: spikyp
Subject: Skip page footer printing for group footer
Date Posted: 20 Mar 2007 at 6:09am

Hi,

See anyone can solve my question, i.e.
 
My crystal report has following sections:-
 
1. Page Header
2. Detail
3. Group Footer 1
4. Group Footer 2 (same group name to item 3), already set to "New Page" before.
 
I would like to include the page header when printing Group Footer 1, but not include the page header when printing Group footer 2.  I think I need to use formula field to suppress the Page header.  But I don't know how to set the formula when the report start to print group 2.
 


-------------
Spiky



Replies:
Posted By: BrianBischof
Date Posted: 20 Mar 2007 at 11:47am
You could have something in the group footer and check if the group field is "1". If so, set a shared variable that turns on a flag. If it isn't "1" then turn off the flag. Then in the page header check if the flag is turned on and if so, disable the page header. 

-------------
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>



Print Page | Close Window