3. Preview the report and test the link.

3. Preview the report and test the link. When you click on the source textbox, you should be able to jump to the report at the bookmark ID indicated in the Jump To command on the bookmark link. Adding hyperlinks You can also enable a report to link to a URL that can refer to a file, another report or Web page, or content on the Internet. A hyperlink can be a static URL or an expression that evaluates to a URL. If you have a field in a database that contains URLs, the expression can contain that field, resulting in a dynamic list of hyperlinks in the report. You can add hyperlinks only to textboxes and images. To set hyperlinks in a report, proceed with Step 2 in the previous section on jumping to bookmarks. In this case, all you need to specify is the Jump to URL for the link when the user clicks on that control in your report. You can hyperlink to the Google Web site by entering the URL http://www.google.com in the combo box under the Jump to URL radio button. Using Document Maps Another way a user can interact with a report is through a document map. In the HTML Viewer, a document map appears as a table of contents next to the report. Users can click an item in the table, and the browser jumps to that item in the report. Figure 15-8: Navigation tab on the Textbox Properties dialog box showing how to set a Jump to Bookmark expression. Chapter 15: More About Interactive Reporting 283

Note: If you are looking for good and high quality web space to host and run your application check Lunarwebhost JSP Web Hosting services

Bookmark the permalink.

Comments are closed.