on 04-15-2009 6:35 PM
I am trying to write a formula as follows:
IF {CRD1.U_PriceOnPick} = "N" THEN
" "
ELSE
{ODLN.DiscPrcnt}
My problem is I need for the field not to display if = "N" else I will print the numeric field of {ODLN.DiscPrcnt} . I am not sure how to code a formula that will meet my objective. When I try to save the formula, I receive an error of , "A String Is Expected Here". Any help would be appreciated it.
Thanks Jim Dyer
Cardinal rule of CR, the result of both the IF and ELSE parts must be of the same data type.
Try changing your formula to:
IF {CRD1.U_PriceOnPick} = "N" THEN
" "
ELSE
totext({ODLN.DiscPrcnt});
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.