Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: add 1 to a value Post Reply Post New Topic
Author Message
jbalbo
Senior Member
Senior Member
Avatar

Joined: 17 Feb 2011
Online Status: Offline
Posts: 219
Quote jbalbo Replybullet Topic: add 1 to a value
    Posted: 11 Apr 2011 at 4:42am
Hi,
 
I want to add 1 to a value if true in the detail section  or
find the number of true values in a section footer of a formula
 
example formula says {Axis1Link.RANK}=1
in detail section says true.
 
I want the count of trues in footer .
 
Make sense?
 
Thanks
Joe
 
IP IP Logged
saoco77
Senior Member
Senior Member


Joined: 26 Jun 2007
Online Status: Offline
Posts: 104
Quote saoco77 Replybullet Posted: 11 Apr 2011 at 7:58am
One approach

Formula1

if {Axis1Link.RANK}=1 then 1 else 0

Formula2
sum({@Formula1})

The second formula should provide a count of the number of true values
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.018 seconds.