on 09-05-2008 7:28 PM
I am trying to manipulate the Display String of a field throught the Format Editor. If a field is null, it should display "N/A", or "No data given", or anything else appropriate I might choose.
I can't get this feature to work and I'm wondering if there's a bug here. I'm using the following formula:
if (isnull() or trim() = "")
then "N/A"
else
Am I doing something wrong or is there a better way to do this?
Thank you both for your fast replies, they are helpful. Yah, I should have mentioned that I knew I could create a formula, I apologize for not doing that before. I was just hoping there was a way to avoid that solution, which might entail a good deal of formula building if you are retrieving 50 or more dbfields.
I won't whine about it, I'll commence typing (er, cutting and pasting) asap. )
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Adriane
The other way to display "N/A", or "No data given" if a field is null is using a formula with if -else statement as follows:
whileprinting records;
if (isnull() or trim () =" ")
then "N/A"
else
Please let me know if this helps.
Thanks
Poonam Thorat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Adriane,
Formatting formulas will not evaluate null.
Instead create a formula object similar to;
If isnuul() then 'N/A' else ''
Place the formula in the same position as the database field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
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.