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.
Hi, I have a report and depending on 2 different fields I want to do different drill downs. So for instance if field a = 1 then I want to call report joe while if field b=2 then I want to call report frank and furthermore if the count field is 0 then I dont want to call any reports. Somebody please email me elliot.siegel@juliusbaer.com
On the drill down pass two parameters a and b to the REPORT that you want to drill down on. in REPORT set a condition as SET &STEP = IF a EQ I THEN REPORT1 ELSE IF b EQ 2 THEN REPORT2; GOTO &STEP -REPORT1 TABLE FILE YYY ...
As far as I know you can use this with a WHEN condition.
If you do not want multiple menu items when clicking on a link then just use the WHEN conditioning -
TABLE FILE CAR PRINT DCOST RCOST BY COUNTRY BY CAR ON TABLE SET STYLE * TYPE=DATA, COLUMN=N1, WHEN=COUNTRY EQ 'FRANCE', $ TYPE=DATA, COLUMN=N1, WHEN=COUNTRY EQ 'ENGLAND', FOCEXEC=joe, $ TYPE=DATA, COLUMN=N1, WHEN=COUNTRY EQ 'JAPAN', FOCEXEC=frank, $ ENDSTYLE END
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
The WHEN fields jow and frank must exist in your request but you can NOPRINT them if you want. You also must make sure both conditions cannot be true. They they are, you'll probably get the second one.
i agree with WFuser. The style sheet WHEN= syntax is the way to go here. You can have 3 entries for tht field the two that Wfuser suggests, plus a third for your no-drilldown option TYPE=DATA,COLUMN=P1,WHEN=MYCOUNTFIELD EQ 0,$ and you'll get no hyperlink at all.
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003