Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Highlighting - parameter for whole group Post Reply Post New Topic
Author Message
bbfdsue
Newbie
Newbie
Avatar

Joined: 09 Mar 2017
Location: Canada
Online Status: Offline
Posts: 4
Quote bbfdsue Replybullet Topic: Highlighting - parameter for whole group
    Posted: 17 Mar 2017 at 6:49am
I'm trying to highlight a Client group heading that has several products. Each product has a year of purchase and a qty.

I'm trying to Highlight the Client group heading if that client didn't purchase anything at all in 2016.

How do I make the highlight parameter look at the whole group of products? I'm finding it highlights the client group if it hasn't bought SOME of the products in 2016 even if they have bought others in 2016.

How do I make it look at the products as a single parameter rather than several.

Suz
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 17 Mar 2017 at 10:03am
create a grouping flag that gives you a group total you can use for what you want.
row level formula
//flag
if table.saleyear = 2016 then 1 else 0
sum this at the client group level and if that sum = 0 highlight
if sum(@flag,client)=0 then crYellow
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
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



This page was generated in 0.031 seconds.