Reputation: 87
I need to call an other report with parameters from my report by report builder 12. But it seems to be, there is no button for calling an other one. Is there any way to call second report from the first one?
Upvotes: 1
Views: 1871
Reputation: 26
Open the CGICMD.DAT file and go to bottom line and add the bellow lines and modify as your value.
; hrs: userid=test/password@orcl server=rep_server desformat=pdf destype=cache paramform=no %* (Where first userid, report server name, report destination format, destination type and no parameter form.)
Compile and save the reports.
Now Run the report server and run your report…
LOVE U SETAREH
Upvotes: 1
Reputation: 142710
Such a functionality is called drill down (so that you'd be able to research it yourself, if you want).
In the old Reports 6i, you could have done it by creating a button. In modern Reports version, you'll have to use a hyperlink - it can be found within the "Web" settings, and looks like this:
http://your_server:port/reports/rwservlet?userid=scott/tiger@orcl+report=your_report.rdf+
destype=cache+desformat=html+par_deptno=&deptno
Interesting part is the very end of it, which shows how to pass a parameter from this report (which contains the &deptno
value) to another report (which expects deptno value to be passes into the par_deptno
parameter).
Upvotes: 2