Please help. I have a parameter called ?MarketProgram which lists different Market Programs. I want to group several of the Market Programs together under one category within ?MarketProgram called LCALL. I created a formula called @MPIndicator and added it to the record selection. I want all of the choices within LCALL when it's selected or they can choose individual choices. It's not working and I can't figure out why. Any help is appreciated.
Thanks
(
If {?MarketProgramHeading} = "All" Then
True
Else
{@MPIndicator} in {?MarketProgram}
)
Here is the formula:
stringvar sMarketProgramLabel;
If {?MarketProgram} in ["LC","LCOT","L1","L2","L3","L4"] then sMarketProgramLabel := "LCALL"
else
if {?MarketProgram} = "LC" then sMarketProgramLabel := "LC"
else
if {?MarketProgram} = "LCOT" then sMarketProgramLabel := "LCOT"
else
if {?MarketProgram} = "LC" then sMarketProgramLabel := "LC"
else
if {?MarketProgram} = "L1" then sMarketProgramLabel := "L1"
else
if {?MarketProgram} = "L2" then sMarketProgramLabel := "L2"
else
if {?MarketProgram} = "L3" then sMarketProgramLabel := "L3"
else
if {?MarketProgram} = "L4" then sMarketProgramLabel := "L4";
sMarketProgramLabel
Thanks
(
If {?MarketProgramHeading} = "All" Then
True
Else
{@MPIndicator} in {?MarketProgram}
)
Here is the formula:
stringvar sMarketProgramLabel;
If {?MarketProgram} in ["LC","LCOT","L1","L2","L3","L4"] then sMarketProgramLabel := "LCALL"
else
if {?MarketProgram} = "LC" then sMarketProgramLabel := "LC"
else
if {?MarketProgram} = "LCOT" then sMarketProgramLabel := "LCOT"
else
if {?MarketProgram} = "LC" then sMarketProgramLabel := "LC"
else
if {?MarketProgram} = "L1" then sMarketProgramLabel := "L1"
else
if {?MarketProgram} = "L2" then sMarketProgramLabel := "L2"
else
if {?MarketProgram} = "L3" then sMarketProgramLabel := "L3"
else
if {?MarketProgram} = "L4" then sMarketProgramLabel := "L4";
sMarketProgramLabel