I wish to create several reports based upon a list of values - however I want to use the 'LOV.value' returned to dynamically alter the sql run. So instead of having a list of reports e.g.
report1
report2
report3
I want the underlying sql to be something along the lines of:
select * from reportview where reportname = 'LOV.value';
which translate to:
select * from reportview where reportname = 'report1'; /
select * from reportview where reportname = 'report2'; /
select * from reportview where reportname = 'report3';
depending on which option was chosen.
Is this possible? If so how can I do this?
Note: Yes the sql would always valid.