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] Designer - Filter Return Values

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Designer - Filter Return Values
 Login/Join
 
Member
posted
In previous versions of WF when working in the portal you could show one value in the filter drop-down and return a corresponding value to you procedure.

For example:

You have a list of key value pairs say zip code and city name. You use the city name to populate the drop down and the zip code would be the return value.

Can this be done in designer.

This message has been edited. Last edited by: FP Mod Chuck,


WF 8.2.06 Windows/Linux
 
Posts: 8 | Registered: November 10, 2015Report This Post
Virtuoso
posted Hide Post
FHCole04

I think you are referring to using App Studio to create an HTML composer page where you can specify a display value and a value from value. You can still do that and put that html form into a designer page. There is currently no way to modify the filter within designer to specify two fields to use in the filter.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 2127 | Location: Customer Support | Registered: April 12, 2005Report This Post
Platinum Member
posted Hide Post
You can code the variable to accomplish this. For example, &PCD.(FIND PCD,PRODUCT IN ggsales). The following fex when dropped into the Designer page will create a dropdown that displays the PRODUCT field, but will pass the PCD field to the fex for the user's selection:
-DEFAULT &PCD = '_FOC_NULL';
-SET &ALLPCD  = IF &PCD EQ '_FOC_NULL' THEN 1 ELSE 0;

 SET PAGE=NOLEAD,STYLE=warm
 
 TABLE FILE ggsales
 SUM UNITS/I8C
     DOLLARS/I8M
  COMPUTE PCD_DISPLAY/A20 = IF &ALLPCD THEN 'All Products' ELSE PRODUCT; NOPRINT     
  BY REGION 
  BY ST 
  BY CITY
 WHERE PCD EQ '&PCD.(FIND PCD,PRODUCT IN ggsales).'
 HEADING
 "Sales for <PCD_DISPLAY (&PCD)"
 END


WebFOCUS 8.2.06
 
Posts: 210 | Location: Sterling Heights, Michigan | Registered: October 19, 2010Report This Post
Member
posted Hide Post
Thanks. I'll give your syntax a try. It looks to be exactly what I want.


WF 8.2.06 Windows/Linux
 
Posts: 8 | Registered: November 10, 2015Report 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] Designer - Filter Return Values

Copyright © 1996-2020 Information Builders