on 02-12-2010 7:37 AM
Hi,
I'm new to Crystal Reports 2008 and have what I hope is a simple query.
I have created a report that pulls it's data from an SQL DB (Our Helpdesk Package) and some of the results are blank but can still be clicked on to drill down.
Is there a simple way of replacing any blank values received with some text....let's say "Not Set" or something like that.
Many thanks in advance.
Matt
You can write a formula in Crystal Reports to check whether it is null or not and display the required text accordingly
if (isnull({dbvalue}) or ({dbvalue} ='')) then
"Display the required text"
else
{dbvalue}
I hope this is what you required.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In the Field Explorer you can able to see Formula Fields. Right Click on it and give the formula name and then opens Formula Workshop - Formula Editor. Now give the conditional formual as said earlier.
Once formula is created then you can place in the report. When ever the field is null then it will display the text.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.