Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Displaying Drilled down Report within Current Report

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Displaying Drilled down Report within Current Report
 Login/Join
 
Member
posted
Hi

Is it possible to display the results after performing drilldown on a field in the same report?

I want to create smthing like :

Student Subject Rank

John Phy 5

Smith Stats 3

Here Say Student is a drilldown field on Clicking on a student its details should be displayed as :


Student Subject Rank

John Phy 5
Value
Detail#1 abc
Detail#2 xyz
Detail#3 lmn

Smith Stats 3


Thanks in advance.


MAXI
 
Posts: 8 | Registered: November 16, 2006Report This Post
Virtuoso
posted Hide Post
Again, for a simplistic approach, the accordion type report may give an approach for you.


Alan.
WF 7.705/8.007
 
Posts: 1451 | Location: Portugal | Registered: February 07, 2007Report This Post
Virtuoso
posted Hide Post
I think what you want is possible with this

TABLE FILE CAR
BY COUNTRY
BY CAR
BY MODEL
BY BODYTYPE
BY SEATS
BY DEALER_COST
BY SALES
ON TABLE SET PAGE-NUM OFF
ON TABLE SET EXPANDABLE ON
END

The exapandable on will do it...




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Expert
posted Hide Post
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, 2003Report This Post
<JG>
posted
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>,
 
Report This Post
Virtuoso
posted Hide Post
JG

Accordion reports are not the same as Active reports, and, as far as I am aware, are not a chargeable option.


Alan.
WF 7.705/8.007
 
Posts: 1451 | Location: Portugal | Registered: February 07, 2007Report This Post
<JG>
posted
Alan you are quite right.

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.

Thanks for the correction
 
Report This Post
Virtuoso
posted Hide Post
Hi Moxi,

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, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Displaying Drilled down Report within Current Report

Copyright © 1996-2020 Information Builders