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.
I am trying to create a dynamic dropdown which will query a list of our production master files. I need this to be dynamic so that if a new table is added it will automatically populate the report.
The issue I am having is that I only want the master files beginning with DW in my dropdown.
Any thoughts on how to exclude values from a dynamic dropdown? A basic hold file does not work.This message has been edited. Last edited by: <Kathryn Henning>,
We are currently populating the drop down via the gooey tool, directly from the table.
Example using Car File:
TABLE FILE CAR PRINT CAR.ORIGIN.COUNTRY CAR.COMP.CAR WHERE CAR.CARREC.MODEL EQ &MODEL.(OR(FIND CAR.CARREC.MODEL,CAR.CARREC.MODEL IN car)).MODEL.; END
What I am trying to do based on the above is exclude values from the filter above, so for example I may want to only include values that begins with 2002, but I need the dynamic dropdown in case additional 2002 values are added to the data warhouse so that those values will be automatically picked up.
Lynsi, what about a year drop and chaining to your current list and select only the 2002 models. You can have multiple controls chaining to same list, eg. country, car, year.
TABLE FILE CAR
BY CAR.ORIGIN.COUNTRY
BY CAR.COMP.CAR
BY CAR.CARREC.MODEL
WHERE CAR.CARREC.MODEL CONTAINS '2002';
ON TABLE HOLD AS HLD FORMAT FOCUS
END
TABLE FILE HLD
PRINT
HLD.SEG01.COUNTRY
BY LOWEST HLD.SEG01.CAR
WHERE HLD.SEG01.MODEL EQ '&MODEL.(FIND HLD.SEG01.MODEL,HLD.SEG01.MODEL IN hld).Model.';
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
$
ENDSTYLE
END
But as you mentioned it seems that the gui doesn't want to display the data properly even if the HLD file does only includes MODEL having 2002 in his description.
But if you're using the following you will have your list :
TABLE FILE CAR
PRINT CAR.CARREC.MODEL
BY CAR.CARREC.MODEL
WHERE CAR.CARREC.MODEL CONTAINS '2002';
ON TABLE PCHOLD FORMAT XML
END
Then you can assign a control in a HTML page to it with a parameter that will pass the selected value to your fex and have the result you want.
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, 2013