J
JohnLute
CSHc: IIf([CSH]>[UNH],[CSH],IIf([CSH]<[UNH],[UNH]))
This isn't consistently returning what's expected. For example, I have
records with a UNH of 9.94 and a CSH of 10.5 which should return a CSHc of
10.5. Instead it's returning 9.94.
Typically, the UNH will always be less than the CSH but when it isn't then
CSHc will "correct" that and display the greater of the two.
Is there something wrong with my code? Why does it work for most of the
records and for others not?
Thanks in advance!
This isn't consistently returning what's expected. For example, I have
records with a UNH of 9.94 and a CSH of 10.5 which should return a CSHc of
10.5. Instead it's returning 9.94.
Typically, the UNH will always be less than the CSH but when it isn't then
CSHc will "correct" that and display the greater of the two.
Is there something wrong with my code? Why does it work for most of the
records and for others not?
Thanks in advance!