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 values in drilldown

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[solved]passing values in drilldown
 Login/Join
 
Member
posted
Using the following define -

DEFINE FILE CAR
CLASS/A10 = IF COUNTRY IN('ENGLAND','FRANCE') THEN 'XXXXXX' ELSE COUNTRY;
END

When I run my fex I'm getting the following output:

CLASS RETAIL_COST COUNTRY
ITALY 51,065 ITALY
JAPAN 6,478 JAPAN
W GERMANY 64,732 W GERMANY
XXXXXX 45,319 ENGLAND
5,610 FRANCE

There will be two drilldowns... one for all countries except XXXXXX and the other drilldown will be on XXXXXX. I'm trying to get detail data for both England and France when I drilldown on XXXXXX (passing COUNTRY) but am having no luck. Hope this is enough information... Am totally going in circles at this point and would really appreciate any help - thanks!

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


Dev Studio 8.1.0.4, App Studio 8.1.5m, Reporting Server 8.1.4, InfoAssist, Active Technologies, Windows 2003 Server, Windows7
 
Posts: 20 | Location: Wheaton College | Registered: April 25, 2005Report This Post
Virtuoso
posted Hide Post
One way is to define a list...
CLIST/A100 = IF COUNTRY IN('ENGLAND','FRANCE') 
  THEN '''ENGLAND'',''FRANCE'''   
  ELSE '''COUNTRY''';

...include it as an argument in the drilldown call, and screen in the called fex using
WHERE COUNTRY IN ( &CLIST );
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Report This Post
Member
posted Hide Post
I think I'm going to hold all the class fields with their corresponding countries in a foc file, pass 'XXXXXX' to a fex referencing the foc file and then decode XXXXXX back to it's original name and go from there. thanks much for the feedback!


Dev Studio 8.1.0.4, App Studio 8.1.5m, Reporting Server 8.1.4, InfoAssist, Active Technologies, Windows 2003 Server, Windows7
 
Posts: 20 | Location: Wheaton College | Registered: April 25, 2005Report This Post
Master
posted Hide Post
You are so close... why change now?

if you have this decode

DEFINE FILE CAR
CLASS/A10 = IF COUNTRY IN('ENGLAND','FRANCE') THEN 'XXXXXX' ELSE COUNTRY;
END


You should also use it in the underlying fex. ( the one you're drilling to )

WHERE CLASS EQ &DRILL_PARAM_CLASS


Should work perfectly.

Greets,D


_____________________
WF: 8.0.0.9 > going 8.2.0.5
 
Posts: 668 | Location: Veghel, The Netherlands | Registered: February 16, 2010Report This Post
Virtuoso
posted Hide Post
There are a number of fairly simple ways to accomplish what you need to do. The suggestion by j.gross is pretty straightforward. You could use a conditional drilldown to get what you need. Another failrly simply way would be to just leave the main procedure as-is (passing the value of class) and then include a Dialogue Manager command like the following in your drill-down procedure.

-SET &WHERE=IF 'XXXXXX' EQ '&CLASS' THEN 'WHERE COUNTRY EQ '|''''|'ENGLAND'|''''|' OR '|''''|'FRANCE'|''''|';' ELSE 'WHERE COUNTRY EQ '|''''| &CLASS |''''|';';

and then just put

&WHERE.EVAL on its own line as your selection criteria.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report 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 values in drilldown

Copyright © 1996-2020 Information Builders