SgtRudeDog
Programmer
I have a problem with a standard formula using if then - basically it won't display the ELSE part of the formula:
if {SPE0304.T1} = "F3" or {SPE0304.T2} = "F3" or {SPE0304.T3} = "F3" or {SPE0304.T4} = "F3" then
1
else
2;
sample data:
F3,F41,, RESULTS IN 1
F41,F3,F34, RESULTS IN 1
F3,,, RESULTS IN 1
F41,,, RESULTS IN BLANK INSTEAD OF 2
Is this a bug or am i just being daft??? I've tried writing this in Crystal, Basic, and with and without a variable but all result in the else part being missed out. The formula is a number result, and the sample data is a text field.
Any help would be appreciated as we are migrating from Office to Crystal and I don't have this problem in VBA.
Cheers
Ian
if {SPE0304.T1} = "F3" or {SPE0304.T2} = "F3" or {SPE0304.T3} = "F3" or {SPE0304.T4} = "F3" then
1
else
2;
sample data:
F3,F41,, RESULTS IN 1
F41,F3,F34, RESULTS IN 1
F3,,, RESULTS IN 1
F41,,, RESULTS IN BLANK INSTEAD OF 2
Is this a bug or am i just being daft??? I've tried writing this in Crystal, Basic, and with and without a variable but all result in the else part being missed out. The formula is a number result, and the sample data is a text field.
Any help would be appreciated as we are migrating from Office to Crystal and I don't have this problem in VBA.
Cheers
Ian