I have a condition in my query
Select .........
from
log_entries
where
UPPER( '{?IncludeStatus}') = UPPER('Yes') and
log_id =
CASE {?Log_ID} WHEN 6 THEN 25
WHEN 31 THEN 33
WHEN 27 THEN 29
WHEN 39 THEN 41
WHEN 35 THEN 37 ELSE -1 END
If the user selects {?IncludeStatus}=Yes and enters {?Log_id}=6 then it displays the value of 25.
Is there some way here in the query conditon above, if the user choose {?IncludeStatus}=Yes and user
select for example {?Log_ID}=6 then the result should give not only 25 but both 6 and 25 togeter or if user select
{?Log_ID}=31 then the result should give both 31 and 33 togeter
Thanks
Select .........
from
log_entries
where
UPPER( '{?IncludeStatus}') = UPPER('Yes') and
log_id =
CASE {?Log_ID} WHEN 6 THEN 25
WHEN 31 THEN 33
WHEN 27 THEN 29
WHEN 39 THEN 41
WHEN 35 THEN 37 ELSE -1 END
If the user selects {?IncludeStatus}=Yes and enters {?Log_id}=6 then it displays the value of 25.
Is there some way here in the query conditon above, if the user choose {?IncludeStatus}=Yes and user
select for example {?Log_ID}=6 then the result should give not only 25 but both 6 and 25 togeter or if user select
{?Log_ID}=31 then the result should give both 31 and 33 togeter
Thanks