I have a parameter {?StaffType}:
(if {?StaffType} <> "All" and
{PACS_PROJECT_STAFF.STAFF_ACTIVE} = 'Y' then
{PACS_PROJECT_STAFF.STAFF_TYPE} = {?StaffType}
else if {?StaffType} = "All" and
{PACS_PROJECT_STAFF.STAFF_ACTIVE} = 'Y' then
{PACS_PROJECT_STAFF.STAFF_TYPE} in ['01', '02', '03', '04'])
and I need to give user another one - if StaffType = '01' then {?Co_Manager}
else if '02' then {?Co_Super}.... etc
How can I do this??
Thank you
(if {?StaffType} <> "All" and
{PACS_PROJECT_STAFF.STAFF_ACTIVE} = 'Y' then
{PACS_PROJECT_STAFF.STAFF_TYPE} = {?StaffType}
else if {?StaffType} = "All" and
{PACS_PROJECT_STAFF.STAFF_ACTIVE} = 'Y' then
{PACS_PROJECT_STAFF.STAFF_TYPE} in ['01', '02', '03', '04'])
and I need to give user another one - if StaffType = '01' then {?Co_Manager}
else if '02' then {?Co_Super}.... etc
How can I do this??
Thank you