on 03-30-2009 6:06 PM
Hello All,
I want to display 'No Data' where ever there are blank spaces in crystal report.
I have tried many formulae but none ofthem worked. Please help me to find the correct one.
if isnull({Query1.Client's Priority}) then 'no data'
else {Query1.Client's Priority}
this doesnt work.
I tried
if({Query1.Client's Priority})=""then 'no data'
else {Query1.Client's Priority}
this doesnt work
Please help asap...Thanks
Hi
Have you tried the combination like :
if isnull({Query1.Client's Priority}) or ({Query1.Client's Priority})=" "
then 'no data'
else {Query1.Client's Priority}
Thanks,
Sastry
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
You will have to create a formula and place the formula in your report. Correct procedure is :
Go in ViewField ExplorerUnder field Explorer you will find Formula Fieldsright click and newgive a name to your formula. It will open a window here you will have to type the formula which we had discussed in our earlier post then click on save and close.
Now place this formula (drag and droP) in your report in place of your database field.
Thanks,
Sastry
if isnull({Query1.Client's Priority}) then 'NULL'
else {Query1.Client's Priority}
I am using this formula and it worked the way you told me.
Now my concern is i already have this formula in one of the fields
if ((cdate({Query1.Created Date}) < cdate(2008,10,01)) and
isnull ({Query1.Anticipated ROI}) and
isnull ({Query1.Anticipated ROC}) and
isnull ({Query1.Project Benefit Selection})) then 'In-flight as of 10/1'
Else If ({Query1.Checkpoint Stage}) = 'B' and
isnull ({Query1.Anticipated ROI}) and
isnull ({Query1.Anticipated ROC}) and
isnull ({Query1.Project Benefit Selection}) then 'Chkpt B Inprogress'
Else ({Query1.Anticipated ROI})
How can I also add the above formula to this one as i want to display "Null' where ever there is blank in this column as well
Sastry,
Can you pls tell me abt this
I am using combination formula and it worked the way you told me.
Now my concern is i already have this formula in one of the fields
if ((cdate({Query1.Created Date}) < cdate(2008,10,01)) and
isnull ({Query1.Anticipated ROI}) and
isnull ({Query1.Anticipated ROC}) and
isnull ({Query1.Project Benefit Selection})) then 'In-flight as of 10/1'
Else If ({Query1.Checkpoint Stage}) = 'B' and
isnull ({Query1.Anticipated ROI}) and
isnull ({Query1.Anticipated ROC}) and
isnull ({Query1.Project Benefit Selection}) then 'Chkpt B Inprogress'
Else ({Query1.Anticipated ROI})
How can I also add the above formula to this one as i want to display "Null' where ever there is blank in this column as well
the name i have given to this formula is Anticipated ROI.
it is the percentage and it displays inflight.... where ever it satisfies the condition , that i have already given.
Now i also want to display 'Null' in this column as well where there are blank spaces
I have around 20 fields in my report , the formula u gave me worked on one of themn and i am trying it on other fileds as well but the above fied ROI already has a formula so how can i combime two formulae together ...the one already there and the one you gave me for this particular foiled.
I hope my question is clear.
Thanks
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.