instead of entering 0 or another number to get all the data for the parameter, is there a way i can use '%' or 'All'?
(if {?Class} <> 0 then
{Command.CLASS} = {?Class}
else
if {?Class}= 0 then
true) and
(if {?Department} <> 0 then
{Command.DEPT} = {?Department}
else
if {?Department} = 0 then
true) and
(if {?Sub_Class} <> 0 then
{Command.SUBCLASS} = {?Sub_Class}
else
if {?Sub_Class} = 0 then
true)
(if {?Class} <> 0 then
{Command.CLASS} = {?Class}
else
if {?Class}= 0 then
true) and
(if {?Department} <> 0 then
{Command.DEPT} = {?Department}
else
if {?Department} = 0 then
true) and
(if {?Sub_Class} <> 0 then
{Command.SUBCLASS} = {?Sub_Class}
else
if {?Sub_Class} = 0 then
true)