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
Joined: 19 Jun 2007
Location: United States
Online Status: Offline
Posts: 432
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
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