Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Please Help Post Reply Post New Topic
Author Message
ruby_reports
Newbie
Newbie


Joined: 05 Jul 2007
Location: India
Online Status: Offline
Posts: 1
Quote ruby_reports Replybullet Topic: Please Help
    Posted: 05 Jul 2007 at 4:08am
Hello Genuis

friend i had three columns in my crsytal report that shows values as
a = 1
b = 0
c shows nothing not 0 or some value as in database value of c = null
now i want
a+b+c using a formula
but it is not showing the output as null is their
please help out how can i get the result

as i want a+b+c = 1 should be output

if bychance the value of a= 1
b =1
c=0
then output s coming for sure
i.e 2

Hope u got my problem

How to add all the columns

Please reply urgently as i need it now
 
waiting for ure answers friends
 
With Best Regards
Ruby
IP IP Logged
jkwrpc
Senior Member
Senior Member


Joined: 19 Jun 2007
Location: United States
Online Status: Offline
Posts: 432
Quote jkwrpc Replybullet Posted: 05 Jul 2007 at 7:27am

You could try creating a formula. a+b+c. In the top left of the formula wokshop window you will see a drop down box. It has two (2) choices. Make certain the "Default Values For Nulls" is selected.

Assuming a,b,c are numbers the default value for a null will become 0. So if a & b are 1, and if c is null the formula will become 1+1+0 = 2
 
 
Hope this helps
 
Regards,
 
John W.
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.