Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Suppress blanks in a formula or skip logic Post Reply Post New Topic
Author Message
weered1
Newbie
Newbie
Avatar

Joined: 06 Jun 2007
Location: United States
Online Status: Offline
Posts: 3
Quote weered1 Replybullet Topic: Suppress blanks in a formula or skip logic
    Posted: 06 Jun 2007 at 1:05pm
I have a list of values with associated currency amounts:
 
The Arts         $5,000
Theatre         $1,500
Computers    $10,000
Business       $2,000
etc...
 
I need to only list certain values, but I still need to be able to use their currency amounts on my report to add to the listed amounts:
 
The Arts = The Arts + Theatre currencies (total of $6,500)
 
When I use record selection to leave out "Theatre", I can no longer add its currency to "The Arts". If I leave it in, I cannot seem to skip over it in the Details section.
 
I tried inserting the values into a text object and selected "Suppress blank imbedded values", but that doesn't seem to work. I have a formula like the above one to add the currencies together, but then I need to leave the Theatre line out of my report.
 
Is there anyway to manage this in Crystal? Can I use some sort of skip logic (If{value}="Theatre" then skip)?
 
Thanks for your help. I hope this wasn't too confusing.
IP IP Logged
BrianBischof
Admin Group
Admin Group
Avatar

Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Quote BrianBischof Replybullet Posted: 06 Jun 2007 at 2:20pm
You can right-clicki on the Details section in the grey area and choose Section Expert. Then modify the Details section using a conditional formula for the Suppress property. Check the field's value and suppress the details section when necessary. It will still include the value in the summary total since the data gets read in the first pass of the report, but it won't show the record on the page.
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>
IP IP Logged
weered1
Newbie
Newbie
Avatar

Joined: 06 Jun 2007
Location: United States
Online Status: Offline
Posts: 3
Quote weered1 Replybullet Posted: 07 Jun 2007 at 5:33am
That worked- thank you so much! Smile
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.016 seconds.