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.
How can i handle Conditional hyperlinking in WF7.1.3. I am using Oracle 8i. My table can have zero, non-zero or NULL values in the TOTAL column. But i want to display links only for the non-zero counts. I am using following syntax which is not working and showing links for zero and null values also. Ex:TYPE=DATA,ACROSSCOLUMN=TOTAL, WHEN=TOTAL NE NULL, FOCEXEC=mgmt_std.fex \
Hi Alan, this solution will put links on all the non-zero values, and null is also a non-zero value. So after applying this solution, links will not appear on zero values but links will always be there for null values (i.e. blank links which looks like a hiphen(-)). Any alternative solution please!!!
Have you tried this? I think that as Fld is null then AllowDrill will not be evaluated and therefore not contain 'Y', and will therefore work as a screen.
Alan. WF 7.705/8.007
Posts: 1451 | Location: Portugal | Registered: February 07, 2007
Alan, I tried this exactly the same way as mentioned in your earlier mail. But it is creating links on null fields as well. Also, with this approach i am facing another problem; to use ALLOWDRILL variable i need to put it in BY clause and which is not helping me in getting the exact required report display.
Hi Alan, Qalqili, u are great!!! The changes suggested by you are working sweetly for data links, but for subtotal and grantotal links, sometimes it creates links and sometimes it doesnt. Any specific reason as to why this could happen. Apart from this, I've one more question, how can I suppress a particular column if all the values in that column are zero.
TABLE FILE [table] PRINT fld0 WHERE fld0 NE 0; ON TABLE HOLD END -RUN -IF &RECORDS EQ 0 THEN GOTO PROC1 ELSE PROC2; -RUN
-PROC1 TABLE FILE [table] PRINT fld1 fld2 fld3 -* where this procedure contains all field -* except the Zero one END -EXIT -PROC2 TABLE FILE [table] PRINT fld0 fld1 fld2 fld3 -* Where this procedure contains all field -* also the fld0 that contains Zero values and -* The others values END -EXIT
Hi Qalqili, This approcch doesnt help me as i dont know that how many columns can have all zero values. The approach suggested by you assumes that there are already some known no. of columns which can have all zero or null values. Any alternate solution!!!
TABLE FILE CAR
SUM
SALES
COMPUTE DD_FLAG/I1 = IF SALES EQ 0 OR SALES IS MISSING THEN 0 ELSE 1;
BY COUNTRY SUBTOTAL
BY CAR
ON TABLE SET PAGE NOLEAD
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLESHEET *
BORDER=1, BORDER-COLOR=SILVER,
FONT='ARIAL', SIZE=8, $
TYPE=DATA, COLUMN=SALES, FOCEXEC=CARTEST1 ( COUNTRY=COUNTRY CAR=CAR), WHEN= DD_FLAG GT 0, $
TYPE=SUBTOTAL, COLUMN=SALES, FOCEXEC=CARTEST1 ( COUNTRY=COUNTRY), WHEN= DD_FLAG GT 0, $
END
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