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] Cascading in webfocus

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Cascading in webfocus
 Login/Join
 
Silver Member
posted
In webfocus report I put in combobox's for different fields with relation to car.mas
If I select ENGLAND in country field I wish ti display only companies in england and the models made by those companies.
How can this type of cascading be achieved?

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


WebFOCUS 8
Windows, all Outputs
 
Posts: 29 | Registered: August 22, 2017Report This Post
Virtuoso
posted Hide Post
In HTML Composer, you can chain those controls on the parameters tab.


WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :
 
Posts: 1669 | Location: Enschede, Netherlands | Registered: August 12, 2010Report This Post
Silver Member
posted Hide Post
I am using a user defined parameter for binding control to the particular combobox but somehow I want the other comboboxes to also reflect the required data
I saw one way was to use Explicit controls in properties in settings within HTML composer


WebFOCUS 8
Windows, all Outputs
 
Posts: 29 | Registered: August 22, 2017Report This Post
Virtuoso
posted Hide Post
Asamant59

Chaining is the way to do what you want. It is all done through the parameters tab as Webp5622 described...


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
Silver Member
posted Hide Post
I don't know if chaining is any easier on newer versions of Developer/App Studio, but this is how I do chaining.

First, I make small external procedures which will populate my parameters.

For example Parameter1.fex looks something like this:

TABLE FILE (TABLE1)
SUM
FST.FIELD2
BY FIELD1
ON TABLE SET HOLDLIST PRINTONLY
ON TABLE PCHOLD FORMAT XML
END

Then I have Parameter2.fex that looks like this:
-DEFAULT &FIELD1 = 'FOC_NONE'
-SET &FIELD1 = IF &FIELD1 EQ 'FOC_NONE' THEN '~' ELSE &FIELD1;
TABLE FILE (TABLE1)
SUM FST.FIELD4
BY FIELD3
WHERE FIELD2 EQ &FIELD2
ON TABLE PCHOLD FORMAT XML
END

Then when you are building your parameters in Composer, you populate them with those procedures (so your first parameter would be using External Procedure Parameter1.fex, second using Parameter2.fex), and then chain them.


WebFOCUS 8.105M, Windows 10, App Studio
 
Posts: 47 | Registered: October 22, 2014Report This Post
Virtuoso
posted Hide Post
The easiest method for chaining is by adding master files and generate embedded TABLE requests on those.

You'll only want to do that on masters that describe small(-ish) tables though, but that seems to be the case for the OP.

Using external procedures that output XML, like you do, is a more advanced use of chaining.


WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :
 
Posts: 1669 | Location: Enschede, Netherlands | Registered: August 12, 2010Report 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] Cascading in webfocus

Copyright © 1996-2020 Information Builders