on 01-02-2015 7:40 PM
I'm trying to write a conditional formula by right-clicking the formula field InsCoGrowth2013-2014 > Font > Color X-2 formula box >
If {@InsCoGrowth2013-2014}<0 Then crRed Else crBlack
The error message I receive 'A string is required here' and the 0 is highlighted.
The formula, InsCoGrowth2013-2014, returns a percentage.
Thanks soooo much!
Hi Rich,
Try:
If CurrentfieldValue = '0' then
crRed
else
crBlack
-Abhilash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The formula InsCoGrowth2013-2014 is this:
if Sum({@Counter2013},{@InsuranceOrGroupName}) = 0 then "N/A" else
totext ((Sum ({@Counter2014},{@InsuranceOrGroupName}) - Sum({@Counter2013},{@InsuranceOrGroupName})) % Sum({@Counter2013},{@InsuranceOrGroupName}),1) & "%"
So it returns a percentage number + %, or "N/A".
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.