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     [SOLVED] Passing all values to a drilldown

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Passing all values to a drilldown
 Login/Join
 
Guru
posted
In the focexec below, is there a way for me to pass all the values of CAR that showed up in the report to the drilldown in the footing?

  
TABLE FILE CAR

PRINT 
     CAR
     COUNTRY
     SALES
BY SEATS
WHERE SALES GT 10000
ON TABLE SUBFOOT
"Drill to another report with all values of CAR"
ON TABLE SET STYLE *
TYPE = TABFOOTING,FOCEXEC=TEST(CARS = ?),$
ENDSTYLE
END

This message has been edited. Last edited by: ChannyS,


Release: WebFOCUS 7.6.8
OS: Windows
Output formats: HTML, PDF, Excel, csv
 
Posts: 256 | Registered: July 21, 2008Report This Post
Virtuoso
posted Hide Post
The fex called by the drilldown receives whatever values you pass it in the form of amper vars. So first you have to decide what form the set of var names and values is to take
-- for example:

a. a single variable:
&CARS : comma-delimited list of values

b. a set of related vars such as a multi-select would pass:

&CAR0 = counter
&CAR1 = value
&CAR2 = value
etc.

Either way, in the report fex you would use an initial TABLE ... HOLD, plus some dialog manager, to capture the data in &vars, and then generate appropriate code in the stylesheet section of a second TABLE request to produce the formatted report with the approriate drilldown.


- Jack Gross
WF through 8.1.05
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Report This Post
Guru
posted Hide Post
Thanks, I will do the hold and read from the hold and build up a list that way.


Release: WebFOCUS 7.6.8
OS: Windows
Output formats: HTML, PDF, Excel, csv
 
Posts: 256 | Registered: July 21, 2008Report 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     [SOLVED] Passing all values to a drilldown

Copyright © 1996-2020 Information Builders