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] Passing a parameter driven filter to multiple fields

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Passing a parameter driven filter to multiple fields
 Login/Join
 
Platinum Member
posted
I have a table that has four separate fields that a students major may be stored in, Major1, Major2, Major3 and Major4. I have created a report that uses a dynamic parameter filter for Major1, I want to set the other three parameter filters to the values that are selected in the Major1 dynamic parameter filter. Can this be done?

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


WF8
Windows
 
Posts: 117 | Registered: May 28, 2015Report This Post
Platinum Member
posted Hide Post
For that, You have to do the WF HTML Chaining Control.
May be this will resolve your problem.


Thanks!
@vi

WebFOCUS 8105, Dev Studio 8105, Windows 7, ALL Outputs
 
Posts: 103 | Registered: July 08, 2013Report This Post
Silver Member
posted Hide Post
Hi Trudy,

Am not sure I understand your question.

If the Major can be stored in any one of 4 data fields then the value(s) selected in field1 may not be a valid value for fields 2, 3 & 4..? And even if they are the filters are now allowing the user to select where the master value is in both field1 AND field2 AND field3 AND field4 - which doesn't sound like what you're after. I would suspect you're after finding students who have the Master in any of the fields - in which case my instinct is to create a file with a column containing all possible Master values from all 4 of your data fields and use this as the filter and in the fex to select where field1 OR field2 OR field3 OR field4 eq param value.

Please accept my apologies if I have misunderstood.


7.7.05 Windows.
 
Posts: 39 | Location: UK | Registered: July 11, 2012Report This Post
Platinum Member
posted Hide Post
Darryl I am definitely using an OR between the fields. My question is how to use pass the selected parameter variable from field1 to the remaing three other fields.

Avinash, is there no other way to do this other than through HTML Chaining?

Thanks T


WF8
Windows
 
Posts: 117 | Registered: May 28, 2015Report This Post
Virtuoso
posted Hide Post
You can do js to extract selected value from Major1 (IBI has pre-build function to do that, assuming that you are using HTML Composer) and then assign this value to other Major2, 3, 4.


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Report This Post
Guru
posted Hide Post
Wouldn't this work?

WHERE Major1 EQ '&MYMAJOR' OR Major2 EQ '&MYMAJOR' OR Major3 EQ '&MYMAJOR' OR Major4 EQ '&MYMAJOR';

Simply add the first parameter to each of the fields - you can overwrite the chosen one in Filter tool in InfoAssist and/or App Studio.

Cheers

Stu


WebFOCUS 8.2.03 (8.2.06 in testing)
 
Posts: 253 | Location: Melbourne, Australia | Registered: February 07, 2007Report This Post
Silver Member
posted Hide Post
My worry (not knowing the data or the requirement!) is still that if this parameter is being driven by values of MAJOR1 that this could miss some major values that only exist in the data in MAJOR2, 3 or 4. I don't know if this is possible or an issue - only you can say if using MAJOR1 as the definitive list of possible values is a problem or not.


7.7.05 Windows.
 
Posts: 39 | Location: UK | Registered: July 11, 2012Report 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] Passing a parameter driven filter to multiple fields

Copyright © 1996-2020 Information Builders