I have defined a new formula field called Category, that can have one of three values based on the value of three different database fields. -
If {field1}="x" then
"Legacy"
else If {field2}="x" then
"Vibe"
else "Other"
No matter how I arrange the arguments in this statement, the only value that gets into the field Category, is the result of the first argument. In this case "Legacy", and all the other lines on the report have blanks for Category.
field1 can have a value of "x" or " ", field2 can have a value of "x" or " "; the remaining condition is based on both field1 and field2 being blank, and field3 having any other value.
What am I doing wrong?
If {field1}="x" then
"Legacy"
else If {field2}="x" then
"Vibe"
else "Other"
No matter how I arrange the arguments in this statement, the only value that gets into the field Category, is the result of the first argument. In this case "Legacy", and all the other lines on the report have blanks for Category.
field1 can have a value of "x" or " ", field2 can have a value of "x" or " "; the remaining condition is based on both field1 and field2 being blank, and field3 having any other value.
What am I doing wrong?