Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Complex Record selection formula help Post Reply Post New Topic
<< Prev Page  of 2
Author Message
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 25 Feb 2014 at 7:48am
Yep. Technically this is trying to use summary in a summary wich is not allowed.
Instead of the group select you can use a suppress statment to hide all the records that do not meet your criteria. This menas all of your display needs to be in the footers.
Create a Running Total (you can also use shared variable fomrula if you prefer)
Name=HideFlag (or whatever)
Field to Summarize=clientid
type= count
evaluate=use a formula
table.statusdate=max(table.statusdate,table.department) and table.status in ["A","W"]
Reset= on a group (group 2 department)
palce in group 2 footer.
You can now use this value to suppress the footers where #HideFlag=0
IP IP Logged
alzniagara
Newbie
Newbie
Avatar

Joined: 30 Jan 2014
Location: Canada
Online Status: Offline
Posts: 9
Quote alzniagara Replybullet Posted: 19 Mar 2014 at 5:20am
Sorry the late reply - but wanted to thank you so much - this last suggestion worked like a charm!!
IP IP Logged
<< Prev Page  of 2
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.016 seconds.