hnijh Posted February 12, 2010 Share Posted February 12, 2010 Hi,I want to add link in a report and on clicking it, another report should open. How can I do this, if at all possible, in ireport ? Thanks Link to comment Share on other sites More sharing options...
despec Posted February 24, 2010 Share Posted February 24, 2010 Creating a Hyperlink to Another Report-------------------------------------- -- In a text field properties page, go to the "Hyperlink" tab. -- Set the "Hyperlink Target" to "Blank" if you wish to open a new browser window for the report. -- Set the "Hyperlink Type" to "ReportExecution". -- Go to the "Link parameters" tab. -- You must enter a parameter called "_report", which the Jasper server interprets as the URI to the report unit location. In the value expression field, add this pathname in quotes. The path must point to a "report unit" and not a jrxml file. -- To pass parameters from the "calling" report to the subreport, create the same parameters in the "Input Controls" folder for the report unit and also within the subreport itself. It's mandatory that you create the parameters within the "Input Controls" folder or the parameters will be null. -- When setting up link parameters, you may use any legal value expression as allowed by Ireport, like setting to another parameter, field or simple string. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now