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     Question about chaining

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Question about chaining
 Login/Join
 
Guru
posted
I'd like to be able to have two separate chains off of one control. Is there any way to do this in the HTML tool?

Example:

Country->Cars->Sales
Country->Model

When the user selects Country, Cars should be filtered based on the newly selected and model should be filtered based on the newly selected country.

Right now, when I already have the first chain set up and I just select Country and Model together and chain them, Model becomes item number 4 on the first chain as opposed to item number 2 of a second chain.

Is there anyway to do this?


Release: WebFOCUS 7.6.8
OS: Windows
Output formats: HTML, PDF, Excel, csv
 
Posts: 256 | Registered: July 21, 2008Report This Post
Expert
posted Hide Post
Yes, but not using the Master files for combo box population. Use fexes instead because then you would only add the selection on the variables you want -

fex for model
TABLE FILE CAR
.....
WHERE COUNTRY EQ '&Country'

fex for car
TABLE FILE CAR
.....
WHERE COUNTRY EQ '&Country'

fex for sales
TABLE FILE CAR
.....
WHERE COUNTRY EQ '&Country'
WHERE CAR EQ '&Car'

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Guru
posted Hide Post
Tony,

Thanks that works great. I have one more interesting scenario, though, that I should have added on to begin with.

There is another control at the end of the chain.

Using the previous example:

Country->Cars->Sales
Country->Model

The last control would be for example, RETAIL_COST that should get updated if either chain gets updated. If it's the first chain then I'd want RETAIL_COST to be filtered based on all the filters of the first chain and if it's the second chain, then all the filters of the second chain. I can potentially know which "state" I'm in by having the user select from a radio button on the page to let me know that "chain 1 is in use" or "chain 2 is in use". Am I asking for too much here?

On a slightly different topic - I've noticed that once I've used a procedure to populate a control in a chain, any controls below that in the chain will not get populated if I want to populate it dynamically from the database. Am I doing something wrong or is that just a fact of life?

Thanks.


Release: WebFOCUS 7.6.8
OS: Windows
Output formats: HTML, PDF, Excel, csv
 
Posts: 256 | Registered: July 21, 2008Report This Post
Guru
posted Hide Post
Actually,

Just as I'm thinking about my first question - I guess I could take your idea and use the radio button selection to decide which 'WHERE' statement to include for populating the RETAIL_COST control and that should be good!


Release: WebFOCUS 7.6.8
OS: Windows
Output formats: HTML, PDF, Excel, csv
 
Posts: 256 | Registered: July 21, 2008Report This Post
Expert
posted Hide Post
I always stick to fexes for population of combos as it is more controlable.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report 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     Question about chaining

Copyright © 1996-2020 Information Builders