Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Looping through report paramters

UsmanPKJan 26 2013 — edited Jan 29 2013
Dear All,
I have a problem regarding report parameters.
I have given a taskt save report paramters to a table REP_INFO structure blow.

Report Name, Paramter name, Value, Report Run Date/Time
------------------------------------------------------------------------------------

Now I have 5 report paramters, ORG_ID, P_FDATE,P_TDATE, LOT_NO, LOT_QUANTITY
I have applied an INSERT query in AFTER PARAMTER FORM TRIGGER.

Report Trigger: AFTER_PARAMTER_FORM
----------------------------------------------------------
INSERT INTO REP_INFO VALUES (......................)

ISSUES:
--------------------------------
1) Should I have to issue seperate INSERT statements for each paramter?
2) Problem get worse when want to add three additional paramters to the report. What the solution?
3) Can't we dynamically refer report paramter name and insert values in a LOOP through using a single INSERT statement????



Best Regards,
Usman
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 26 2013
Added on Jan 26 2013
6 comments
181 views