sandeep.bheemireddy Posted March 11, 2016 Share Posted March 11, 2016 HiMy case hereI have a text field lets say it as 'A'. And another text field , lets say it as 'B'. The text field B is basically a URL to a page(it means the whole db column has different URL's). Now how do I add hyperlink to text field 'A' to 'B'? Link to comment Share on other sites More sharing options...
hozawa Posted March 12, 2016 Share Posted March 12, 2016 Just but B as a hyperlink expression for text field A. Link to comment Share on other sites More sharing options...
Solution szaharia Posted March 14, 2016 Solution Share Posted March 14, 2016 Hi,You need to create a local anchor hyperlink in your report:for the element 'B' - set an Anchor Name Expression; make sure this expression is valid (some output formats don't accept spaces, for instance) and generates unique results per report (pay special attention when the element 'B' is placed in a detail band that will repeat itself at runtime)for the element 'A' - set the Hyperlink type attribute to 'LocalAnchor' and choose the same expression for Hyperlink Anchor Expression as in the Anchor Name Expression for the textfield 'B'An example related to hyperlinks in JasperReports is available here.I hope this helps,Sanda 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