cantademorna
MIS
In the interest of not wanting to spend countless hours
on this, is there a way of effecting SQL subqueries?
The below doesn't work I know, but is there a way round this?
Unfortunately CR10 is really vague on this crucial kind of thing.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
(
if {?report_type} = 'Closed' then
{JOBS.JOB_NUMBER} IN(SELECT j2.job_number
FROM test.jobs
j2,test.job_status_history js2
WHERE j2.completion_date IS NOT NULL)
else
True
)
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
Thank You
on this, is there a way of effecting SQL subqueries?
The below doesn't work I know, but is there a way round this?
Unfortunately CR10 is really vague on this crucial kind of thing.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
(
if {?report_type} = 'Closed' then
{JOBS.JOB_NUMBER} IN(SELECT j2.job_number
FROM test.jobs
j2,test.job_status_history js2
WHERE j2.completion_date IS NOT NULL)
else
True
)
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
Thank You