organickarma
Programmer
I have a report which has parameters from the main 'container 'report which is a single valued parameter being passed to a subreport via a direct parameter to parameter link.
I am simulating it to behave as a multivalued parameter by asking users to enter multiple values as a comma separated string
The parameter gets passed to the oracle command object in the subreport for filtering purposes.
The values entered for the parameter ID are for e.g. 163,77,100
The Where clause in my subreport command is as follows
Where
1= CASE WHEN INSTR(',' || '{?ID}' || ',' , ',' || TRIM(table.ID) || ',',1 ) > 0
THEN 1
ELSE 0
END
Everything tells me that this should work, yet it does not.
Was hoping another set of eyes might be able to point out what I am doing wrong here.
It appears as though the string resulting from this
,163,77,100, does not seem to be recognized as is by the oracle command.
Any ideas appreciated.
Thanks,
A
I am simulating it to behave as a multivalued parameter by asking users to enter multiple values as a comma separated string
The parameter gets passed to the oracle command object in the subreport for filtering purposes.
The values entered for the parameter ID are for e.g. 163,77,100
The Where clause in my subreport command is as follows
Where
1= CASE WHEN INSTR(',' || '{?ID}' || ',' , ',' || TRIM(table.ID) || ',',1 ) > 0
THEN 1
ELSE 0
END
Everything tells me that this should work, yet it does not.
Was hoping another set of eyes might be able to point out what I am doing wrong here.
It appears as though the string resulting from this
,163,77,100, does not seem to be recognized as is by the oracle command.
Any ideas appreciated.
Thanks,
A