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 All, We are using WebFocus 7.6.11. I would like use a computed field to force a graph to page break when the count equals to 1. What is the syntax for using the computed field in the where clause? I searched this forum, but didn't find the answer.
Thank you,
SeyedThis message has been edited. Last edited by: SeyedG,
WebFOCUS 8.0.09 App Studio 8009 Linux Kernel-2.6 DBMS: Oracle 11g all output (Excel, HTML, AHTML, PDF)
Posts: 90 | Location: Oklahoma City, Oklahoma | Registered: July 01, 2010
For some reason the 'WHERE TOTAL' line in the following code doesn't seem to be working. Everything else in the report works fine. Can anyone see what's wrong here. Thanks.
TABLE FILE APDISCOUNTS3
PRINT
CTVENO AS 'Supplier'
NANAME AS 'Supplier Name'
VPSLDT AS 'Settled Dt'
VPSCAM/D14.2!D AS 'Settled Amt'
DISCA/D14.2!D AS 'Discount Allowed'
E28/D14.2!D AS 'Discount Taken'
COMPUTE DISCL/D14.2!D = DISCA - E28; AS 'Discount Lost'
ON TABLE SUMMARIZE AS 'TOTAL'
HEADING
"AP Discounts Lost by Cost Center for &MNTH, &ACCYR"
FOOTING
""
WHERE VPSTPR EQ '&ACCPER' AND CTCSTS EQ '&CCENTER';
WHERE TOTAL DISCL NE 0;
END
WebFOCUS 7.6.10 Windows all output (Excel, HTML, PDF)
Maybe it is working but DISCL has non-zero values that display as zero when rounded to 2 decimal places? Try changing your format for DISCL from 'D' to 'P':
COMPUTE DISCL/P14.2!D = DISCA - E28; AS 'Discount Lost'
WebFOCUS 7.7.05
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007