ChiTownDiva
Technical User
Happy Monday Everybody!!!
I hate multiple parameters!!
I have a report where I need to be able to pull multiple instructors. The only thing that ties their name to the database is their id number.
Here's my selection criteria:
{CRSE.CRSE_CD} like {?Course Code} and
(IF {?Instructor} = 'Margaret Barber' THEN {PERSON.ID} = '10158C8' AND
{CRSE_SESSION.END_DT} in {?Start Date} to {?End Date} OR
IF {?Instructor} = 'Pamela Rockett' THEN {PERSON.ID} = '10158D6' AND
{CRSE_SESSION.END_DT} in {?Start Date} to {?End Date} OR
if {?Instructor} = "*" then {PERSON.PERS_ID} like "*" )
I cannot figure out for the life of me why this won't pull any records if I add both Margaret and Pamela...if I put in just 'Margaret Barber' or 'Pamela Rockett' or an "*", I get records.
What am I not doing?
Thanks in advance!
ChiTownDiva
I hate multiple parameters!!
I have a report where I need to be able to pull multiple instructors. The only thing that ties their name to the database is their id number.
Here's my selection criteria:
{CRSE.CRSE_CD} like {?Course Code} and
(IF {?Instructor} = 'Margaret Barber' THEN {PERSON.ID} = '10158C8' AND
{CRSE_SESSION.END_DT} in {?Start Date} to {?End Date} OR
IF {?Instructor} = 'Pamela Rockett' THEN {PERSON.ID} = '10158D6' AND
{CRSE_SESSION.END_DT} in {?Start Date} to {?End Date} OR
if {?Instructor} = "*" then {PERSON.PERS_ID} like "*" )
I cannot figure out for the life of me why this won't pull any records if I add both Margaret and Pamela...if I put in just 'Margaret Barber' or 'Pamela Rockett' or an "*", I get records.
What am I not doing?
Thanks in advance!
ChiTownDiva