Better done in a formual field:
If that does not work, try displaying the original values in a diagnostic detail line.
You could also try changing the zero values to 2 and 3, as a diagnostic, just to see where the logic is going
Madawc Williams (East Anglia, UK). Using Crystal 11.5 with SQL and Windows XP
Code:
if udfgenid=53
then if isnull(udfnum)) or udfnum=0
then 1
else 0
else 0
You could also try changing the zero values to 2 and 3, as a diagnostic, just to see where the logic is going
Madawc Williams (East Anglia, UK). Using Crystal 11.5 with SQL and Windows XP