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     [CLOSED] Multiple Values in a field - drill on each value

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Multiple Values in a field - drill on each value
 Login/Join
 
Gold member
posted
Hi All,

I have a request where I will print multiple values for a single field in a table. How can I achieve drill capability on each different value?

I appreciate your help.

This message has been edited. Last edited by: <Kathryn Henning>,


In Focus since 2008
WebFOCUS 8.2.0.1
Windows 7 - IE,Chrome,Firefox
Excel, PDF, HTML, AHTML, XML
JavaScript, jQuery, D3.js, Highcharts
 
Posts: 79 | Location: New York | Registered: February 04, 2010Report This Post
<Kathryn Henning>
posted
Hi nsk110483,

Is this what you're looking to do?

PARENT.FEX:
  
TABLE FILE CAR
PRINT COUNTRY
ON TABLE SET STYLE *
TYPE=DATA, COLUMN=COUNTRY, FOCEXEC=DRILL(COUNTRY=COUNTRY),$
ENDSTYLE
END


DRILL.FEX:
 
TABLE FILE CAR
HEADING
"DRILL DOWN REPORT"
PRINT COUNTRY
WHERE COUNTRY EQ '&COUNTRY';
END


Cheers!

Kathryn
 
Report This Post
Platinum Member
posted Hide Post
I have done this by creating a define for a column which was two HTML Anchor statement with the web call. It took a while to get the syntx right. hint code in in simple HTML them wrap the WebFocus code around the string.


Jim Morrow
Web Focus 7.6.10 under Windows 2003
MVS 7.3.3



 
Posts: 129 | Registered: June 01, 2005Report This Post
Virtuoso
posted Hide Post
nsk,

Do you mean that you want to do a different drill for each value?
Example with the CAR file, printing COUNTRY, you want to drill to:
FEX1 for ENGLAND
FEX2 for FRANCE
FEX3 for ITALY
and so on?

"Silence is consent."
I would do this as follows:
  
TABLE FILE CAR
PRINT COUNTRY
COMPUTE DD/A8=DECODE COUNTRY(
ENGLAND FEX1
FRANCE  FEX2
ITALY   FEX3
JAPAN   FEX4
ELSE    FEX0); NOPRINT
ON TABLE SET STYLE *
TYPE=DATA, COLUMN=COUNTRY, FOCEXEC=DRILL(FEX=DD), $
ENDSTYLE
END

The the called procedure:
  
-* Drill
EX &FEX

Add parameters if necessary.

This message has been edited. Last edited by: Danny-SRL,


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     [CLOSED] Multiple Values in a field - drill on each value

Copyright © 1996-2020 Information Builders