Hi
I'm trying to do a if - then - else with text but not sure what my else should be
Can someone please help as if I put 0 it says it needs a boolean here
Thanks
Helen
if {DRSTRAN.SALES_CODE} = "49"
then 'David'
or
if {DRSTRAN.SALES_CODE} = "46"
then 'Werner'
or
if {DRSTRAN.SALES_CODE} = "42"
then 'Peter'
or
if {DRSTRAN.SALES_CODE} not ["49","46","42"]
then 'Others'
else
I'm trying to do a if - then - else with text but not sure what my else should be
Can someone please help as if I put 0 it says it needs a boolean here
Thanks
Helen
if {DRSTRAN.SALES_CODE} = "49"
then 'David'
or
if {DRSTRAN.SALES_CODE} = "46"
then 'Werner'
or
if {DRSTRAN.SALES_CODE} = "42"
then 'Peter'
or
if {DRSTRAN.SALES_CODE} not ["49","46","42"]
then 'Others'
else