Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using Button Action Trigger to Run Another Report with Parameter

Status
Not open for further replies.

Mohanram

IS-IT--Management
Apr 29, 2001
1
US
Hi,

I need to call a report ( say, Report2 which has a parameter form attached to it ) from a button action in Report 1.
When I formulate SRW.RUN_REPORT, Oracle manual specifies that we should add paramform=yes

When I add that and call the report it gets executed with null values, with out showing the Parameter form of Report2 for input.

How do I make the button action open the called Report's parameter form ?
 
Hi,
You can use

SRW.RUN_REPORT ('report=report_name p_parameter_name='||:param_value);

where :param_value can be a field in Report1 if you wish to dynamically populate the parameter's value

Hope this helps
Viji
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top