Summary and Detail Report are in HTML format in a page. Is it possible to have drillthrough option in Summary section to go to the detail section in HTML? Drill Through is supported in PDF. But Can I do the same in HTML? If not, do we have any workaround.
Reports with DRILLTHROUGH syntax can be rendered in all other styled output formats: HTML, PostScript, EXL2K, and so on. In other formats, the DRILLTHROUGH syntax is ignored.
However, links can be wrapped around data displayed in the report section and HEADING/FOOTINGs following the technique listed below:
You will need to have an InfoResponse userID/password to access the manual and document.
Hope this helps.
Cheers,
Kerry
Kerry Zhan Focal Point Moderator Information Builders, Inc.
January 09, 2007, 01:50 AM
thangam
It is done using HREF and bookmark.
Regards, Thangam
January 09, 2007, 03:58 AM
Tony A
Thangam,
You can use the HREFs with bookmarks without problems providing you use a little thought.
DEFINE FILE CAR
HREF/A80 = '<a href="#'||COUNTRY||'">'||COUNTRY||'</a>';
BOOKMARK/A80 = '<a name="#'||COUNTRY||'">'||COUNTRY||'</a><br><a href="#top">Top</a>';
LOADS_OF_BREAKS/A40 ='<br><br><br><br><br><br><br><br><br><br>';
TOP_BM/A24 = '<a name="#top">Index</a>';
END
TABLE FILE CAR
BY HREF AS ''
HEADING
"<TOP_BM"
ON TABLE SET PAGE-NUM NOPAGE
ON TABLE HOLD AS INDEX FORMAT HTMTABLE
END
-RUN
TABLE FILE CAR
SUM RCOST
DCOST
BY BOOKMARK AS 'COUNTRY'
BY CAR
BY MODEL
BY LOADS_OF_BREAKS AS ''
ON TABLE SET PAGE-NUM NOPAGE
ON TABLE HOLD AS DETAIL FORMAT HTMTABLE
END
-RUN
-HTMLFORM BEGIN
<html>
<head>
<title>Bookmarks</title>
</head>
<body>
!IBI.FIL.INDEX;
!IBI.FIL.DETAIL;
</body>
</html>
-HTMLFORM END
The LOADS_OF_BREAKS field is used to spread the report out so that you can see the actual response to clicking on a link in the index and also when you click on the "Top" link. Yes, I know I could have acheived the same using CSS but I had a touch of CBA syndrome .
TThis message has been edited. Last edited by: Tony A,
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
January 09, 2007, 07:56 AM
Tony A
For info, I have just tried an example using the drillthrough syntax of the style sheet and it works fine in PDF format but when converted to HTML the anchor tags are not completely formated resulting in a displayed value of >ENGLAND etc.