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.
New TIBCO Community Coming Soon
In early summer, TIBCO plans to launch a new community—with a new user experience, enhanced search, and expanded capabilities for member engagement with answers and discussions! In advance of that, the current myibi community will be retired on April 30. We will continue to provide updates here on both the retirement of myibi and the new community launch.
What You Need to Know about Our New Community
We value the wealth of knowledge and engagement shared by community members and hope the new community will continue cultivating networking, knowledge sharing, and discussion.
During the transition period, from April 20th until the new community is launched this summer, myibi users should access the TIBCO WebFOCUS page to engage.
I’m using a FEX to populate a drop down list in HTML Composer. This drop down list is chained to a radio button control that filters what the drop down list is filled with depending on what is selected in the radio control. In one radio button selection, I may need to add an ‘All’ option to the results that populate the drop down list. If the other two options on the radio button are selected, I will not need the all option. I don’t believe I’ll be able to use the ‘Add ALL option’ on the properties of the drop down list since I don’t always want the ALL option. This leaves me with adding a record to the report results from the FEX that populates the drop down list based on what criteria is passed to it from the chained radio control.
How do you programmatically add a record to a report? The report is currently being populated directly from joined tables.
Thanks, shelz.This message has been edited. Last edited by: Kerry,
"I'm new to focus" - "branching to a conditional modify" - These are mutually exclusive.
Look into the MORE command with which you can concatenate more than one file. You can bypass the second file depending on a condition. Here's an example:
-SET &COND_VAL = EDIT(&YYMD,'$$$$99$$');
TABLE FILE CAR
WHERE NOT COUNTRY CONTAINS 'I'
ON TABLE HOLD AS H001
TABLE FILE CAR
WHERE COUNTRY CONTAINS 'I'
ON TABLE HOLD AS H002
TABLE FILE H001
ON TABLE PCHOLD FORMAT XML
-IF &COND_VAL EQ '01' GOTO BYPASS1;
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007
Well, I've tried a couple of things and not found a solution for only including ALL when needed.
I was able to add the all option to the FEX that populates the drop down list based on criteria passed to it. When I run the FEX stand alone, the all option displays as expected depending on the criteria passed. However, for some reason, when it is used to populate the drop down list, the all option never displays.
I give up going this route. I'll just change the report to accept the radio button parameter, leave the all on for all options and filter the report on the radio type selected. This involves more changes than I wanted to make, but I don't want to open an issue with IBI, and this may make the report function better any way.