Crystal 8 - SQL db
I'm not sure how to do this or if it's possible.
I created a parameter field called Group, where the user will be prompted to type a group name to report against: SC, SEC, SDT, DET, etc.
I then created a formual field called SetGroup that say:
if {?group} = "SC" then 401023
else if {?group} = "SEC" then 302450... etc etc
Within the Selection Formula Editor:
if {call_req.group_id} = {@SetGroup} then ...
Up to this point everything is working just fine but what if the user wants to include ALL groups. I can add the option for them to type ALL but I'm not sure how the formula should read. I tried: if {?Group} = "ALL" then * but it doesn't like this, says looking for boolean value. Put the * in quotes,
I'm not sure how to do this or if it's possible.
I created a parameter field called Group, where the user will be prompted to type a group name to report against: SC, SEC, SDT, DET, etc.
I then created a formual field called SetGroup that say:
if {?group} = "SC" then 401023
else if {?group} = "SEC" then 302450... etc etc
Within the Selection Formula Editor:
if {call_req.group_id} = {@SetGroup} then ...
Up to this point everything is working just fine but what if the user wants to include ALL groups. I can add the option for them to type ALL but I'm not sure how the formula should read. I tried: if {?Group} = "ALL" then * but it doesn't like this, says looking for boolean value. Put the * in quotes,