ADR707 Posted January 4, 2012 Share Posted January 4, 2012 Hi..I'm facing an issue while passing a parameter of collection type from a crosstab element in ireports.A field in crosstab is used as a hyperlink to pass few parameters to the other report. The parameters are of String, Date and one is of Collection type. All the parameters other than the collection type are passed to the new report successfully; but the parameter of collection type is always send as blank and all the data from this parameter gets lost in transit. I am not able to solve this issue.Can anyone help me out with solving this..Thanks. Link to comment Share on other sites More sharing options...
Raphaël Peguet Posted January 4, 2012 Share Posted January 4, 2012 Hi,You need to convert your collection to a String. 1. Simply convert the collection to a string in your main report for another parameter in the default expression. ($P{ParameterName}.toString()) 2. In the hyperlink, send this to the collection in the drill-down page. And choose the parameter class of java.lang.String. 3. Then if your Hyperlink links to another report you shouldn't need to make any changes to the drilldown report - it will accept the string value into the collection, and it should seems to run just fine. Let me know if it helps and if not what is the version of iReport you're using? Regards, Raphael Link to comment Share on other sites More sharing options...
ADR707 Posted January 18, 2012 Author Share Posted January 18, 2012 Hi Raphael,It worked.Thanks a lot for replying, it helped me a lot..Regards,Sam Link to comment Share on other sites More sharing options...
govardhan209 Posted May 31, 2012 Share Posted May 31, 2012 Hi,I want use hyperlink in my crosstab mesure cell. when i am clicking the value it should call details report with corrosponding value. but i am getting error when i am trying to add parameters in main report saya filed is not found.can some body help me how to create hyperlink in crosstab. Link to comment Share on other sites More sharing options...
manish.taneja01 Posted September 22, 2018 Share Posted September 22, 2018 Anyone can please help how create the hyper link in cross tab. 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