dianemarie
Instructor
Hello,
Can I use a parameter in a filter? I have a field called CallRecoCode. It is populated with either an R (reco) or a C (call) - never null. I allow the user via a parameter to select either Calls, or Recos, or All on the report. In Crystal, this was accomplished in the Select Statement as below:
(if {?Call Reco Code} = 'Calls Only' then
{CALL_RECO_MASTER.CallRecoCode} = 'C' else
if {?Call Reco Code} = 'Recos Only' then
{CALL_RECO_MASTER.CallRecoCode} = 'R' else true)
Instead of doing some sort of Case statement, I am wondering if I can use the filter tab in the Dataset dialog box but I'm struggling with it. Any help in the right direction would be appreciated. Thank you.
Can I use a parameter in a filter? I have a field called CallRecoCode. It is populated with either an R (reco) or a C (call) - never null. I allow the user via a parameter to select either Calls, or Recos, or All on the report. In Crystal, this was accomplished in the Select Statement as below:
(if {?Call Reco Code} = 'Calls Only' then
{CALL_RECO_MASTER.CallRecoCode} = 'C' else
if {?Call Reco Code} = 'Recos Only' then
{CALL_RECO_MASTER.CallRecoCode} = 'R' else true)
Instead of doing some sort of Case statement, I am wondering if I can use the filter tab in the Dataset dialog box but I'm struggling with it. Any help in the right direction would be appreciated. Thank you.