As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
then theres always the 'drill -up' approach. where you click on John and a new window pops up , containing Johns detail, but the original report stays put. the user closes John's detail when they've had enuf.
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003
Active Reports (Accordion reports) are a chargable option for WebFocus.
If you've no license and you really want it in the same report and not as a classic drilldown try the following.
DEFINE FILE CAR
BLANK/A1=' ';
COUNTRYLABEL/A180='<table><tr onClick="toggle(' || '''' || COUNTRY || '''' || ');">' || '<td>'
|| COUNTRY | '</td></tr></table><table>';
CARDISPLAY/A180='<tr><td>' || CAR || '</td></tr>';
TDBODYH/A180='<tbody id="' || COUNTRY || '" style=display:none;color:blue>';
TDBODYF/A180='</tbody></table>';
END
TABLE FILE CAR
PRINT
CARDISPLAY AS ''
BY COUNTRYLABEL NOPRINT
ON COUNTRYLABEL SUBHEAD
"<COUNTRYLABEL"
"<TDBODYH"
ON COUNTRYLABEL SUBFOOT
"<TDBODYF"
ON TABLE HOLD AS DISPFILE FORMAT WP
ON TABLE SET PAGE NOPAGE
ON TABLE SET PANEL 300
ON TABLE SET WIDTH 180
END
-RUN
-HTMLFORM BEGIN
<html>
<head>
<script>
function toggle(Country)
{
var el;
if (document.getElementById
&& (el = document.getElementById(Country)))
{
if(el.style.display == 'none' ){
el.style.display = '';
}else{
el.style.display = 'none';
}
}
}
</script>
</head>
<body>
!IBI.FIL.DISPFILE;
</body>
</html>
-HTMLFORM END
This message has been edited. Last edited by: <JG>,
The accordion option is one of the output styles within active reports. However the EXPANDABLE ON option is not restricted to active reports. It's use is limited only by the version of WebFocus that your'e running. 7.1 up I believe.
If you are ready to use PDF, try this: -DEFAULT &LVL=1 TABLE FILE CAR SUM SALES BY COUNTRY -IF &LVL EQ 1 GOTO #STYLE; SUM SALES BY COUNTRY BY CAR ON SALES FOLD-LINE -#STYLE ON TABLE PCHOLD FORMAT PDF ON TABLE SET STYLE * -IF &LVL EQ 2 GOTO #NODD; TYPE=DATA, COLUMN=COUNTRY, FOCEXEC=EXPAND(LVL=2),$ -#NODD ENDSTYLE END
Daniel In Focus since 1982 wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006