Hi Everyone;
I have a field that has 'on' and null values in the table. I was wondering how I could create the if statement in record selection to select the 'on' values only or the null values or both using a parameter. This is what I tried, it works for on and null values , but not when I select 'all'
I have a field that has 'on' and null values in the table. I was wondering how I could create the if statement in record selection to select the 'on' values only or the null values or both using a parameter. This is what I tried, it works for on and null values , but not when I select 'all'
Code:
(if {?actStatus} = 'COMP' then
{ACTION_ITEMS.ACTI_COMPLETED} = 'on'
else if {?actStatus} = 'PEND' then
isnull({ACTION_ITEMS.ACTI_COMPLETED})
else if {?actStatus} = 'ALL' then
isnull({ACTION_ITEMS.ACTI_COMPLETED}) or{ACTION_ITEMS.ACTI_COMPLETED} = 'on' )