Home
Crystal Reports Training
Crystal Reports XI
Crystal Reports .NET
Crystal Reports Forum
News
Tech Support
Active Topics
Memberlist
Search
Help
Register
Login
Technical Questions
Crystal Reports Forum
:
Crystal Reports 9 through 2022
:
Technical Questions
Topic: Shading Group Footer Lines
Author
Message
dkalsow
Groupie
Joined: 10 Jan 2011
Location: United States
Online Status: Offline
Posts: 65
Topic: Shading Group Footer Lines
Posted: 09 Mar 2011 at 9:33am
I am grouping on a formula and based upon certain critera in my group footer, I may supress that footer. This all works and life is good.
Now I want to shade every other footer line (that is printed). This is the formula I have been using:
if Remainder(GroupNumber,2) = 0then crSilver else NoColor
This is not working well because it counts all group footers not just the ones printed. Can this be modifed to only count the ones printed?
Thanks :)
dkalsow
IP Logged
DBlank
Moderator
Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Posted: 09 Mar 2011 at 11:06am
create a running total to count the items shown and then use the rt to relace your GRoupNumber.
in the RT use your suppression formula as part of the evlauate formula
IP Logged
DBlank
Moderator
Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Posted: 09 Mar 2011 at 11:47am
example
rt name = GF_count
field to summarize = field you are grouping on
type of summary = distinct count
evaluate = use a formula
NOT(gf suppression formula here)
reset=never
place on group footer
you should see it only increse the count on any non suppressed gf
you can suppress it to hide it from the report canvas
update your formula to use your RT:
if Remainder({#GF_count},2) = 0 then crSilver else NoColor
IP Logged
Printable version
Forum Jump
-- Select Forum --
Announcements
Talk with the Author
Self-Publishing
Job Postings
New feature request
Report Design
Data Connectivity
Technical Questions
Tips and Tricks
Crystal Xcelsius
Report Design
Data Connectivity
Writing Code
Tips and Tricks
Report Design
Data Connectivity
Writing Code
Tips and Tricks
You
cannot
post new topics in this forum
You
cannot
reply to topics in this forum
You
cannot
delete your posts in this forum
You
cannot
edit your posts in this forum
You
cannot
create polls in this forum
You
cannot
vote in polls in this forum
HOME
|
FREE EBOOK
|
PROGRAMMING GUIDE
|
PURCHASE
|
REVIEWS
|
CONTACT ME
|
FAQ
|
LINKS
|
PRIVACY
|
CLICK PLAYS
|
KONACAD
© 2004-2026 Brian Bischof. All Rights Reserved.