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.
without seeing the code, my first guess is that you are not bypassing the WHERE statement. I'm assuming when the user picks any other value from the drop down you are passing it to a WHERE statement:
WHERE field1 EQ '&var1' If you don't bypass this WHERE when the user selects ALL you are probably checking for: WHERE field1 EQ 'ALL' which I'm assuming isn't a valid value.
There are a number of techniques to bypass the WHERE on an 'ALL' condition depending on your release. The quickest might be to bypass the WHERE using Dialog Manager.
If I'm way off base, please post your code and that will help.
Good Luck!
Posts: 118 | Location: DC | Registered: May 13, 2005
I am attaching the code here, I have enabled All option available in the HTML Layout viewer
Main Code
JOIN A1.A TO MULTIPLE A1.B J0 END GRAPH FILE A SUM CNT.A2 ACROSS A3 BY A3 WHERE ( A4 EQ '&Platform.(FIND A4 IN A).Plate.' ); WHERE ( A5 EQ '&Ent.(FIND A5 IN A).Ent.' ); WHERE ( A6 EQ '&VP.(FIND A6 IN A).VP.' ); WHERE ( A7 EQ '&BPO.(FIND A7 IN A).BPO.' );
ON GRAPH SET STYLE * TYPE=DATA, ACROSSCOLUMN=N1, TARGET='DRILLOUTPUT', FOCEXEC=app/el7hpmp3.fex(Version=A1 Plate='&Plate ' Ent='&Ent' VP='&VP' BPO='&BPO'), $ ENDSTYLE END
END TABLE FILE T_ORA_DBAS_V PRINT A9 A11 A8 BY A6_N BY A7_N WHERE ( A3 '&Ver' ) AND ( A4 EQ '&Plate' ) AND ( A5 EQ '&Ent' ) AND ( A6 EQ '&VP' ) AND ( A7 EQ '&BPO' ); END
Your "ALL" option probably uses 'FOC_NONE' as the value, when this is put into a WHERE statement, the whole line is ignored. Separate your WHERE statements:
Instead of
WHERE ( A3 '&Ver' ) AND ( A4 EQ '&Plate' ) AND ( A5 EQ '&Ent' ) AND ( A6 EQ '&VP' ) AND ( A7 EQ '&BPO' );
do
WHERE ( A3 '&Ver' ) ; WHERE ( A4 EQ '&Plate' ) ; WHERE ( A5 EQ '&Ent' ) ; WHERE ( A6 EQ '&VP' ) ; WHERE ( A7 EQ '&BPO' ) ;
Francis
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
I have tried this out, but my problem is The drill down just does not happen when any one or all prompts has All selected, It does not shows me an error, an blank page. It is does nothing as though nothing has been clicked.
When you say the drill-down is not working ... if what you mean is that the link is no longer there, then it is a different problem.
Francis is correct when he stated the entire line will be ignored. This would include the drill down line in the style sheet. To avoid these problems, always use the .EVAL when building your drill down link with ampher variables. Example: