I'm using CR v10. I would like to set up a parameter on a report that lets the user pick one of three values: CANADA, U.S., or BOTH. I need help writing the formula for the report grouping. My formula, below, works for US and Canada, but gives me nothing for BOTH (since I have already used those records on the report).
If {ST005.COUNTRY} = "CA" then "Canada"
else if {ST005.COUNTRY} = "US" then "US"
else if ({ST005.COUNTRY} = "CA" or {ST005.COUNTRY} = "US") then 'Both'
Any help would be appreciated.
If {ST005.COUNTRY} = "CA" then "Canada"
else if {ST005.COUNTRY} = "US" then "US"
else if ({ST005.COUNTRY} = "CA" or {ST005.COUNTRY} = "US") then 'Both'
Any help would be appreciated.