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.
TABLE FILE CAR
SUM
SALES AS '$ SALES'
DEALER_COST AS '$ COST'
BY CAR
ACROSS COUNTRY AS ''
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
INCLUDE=PROBLUE,
$
ENDSTYLE
END
And the result is:
Now consider a single field (SALES) in the across:
TABLE FILE CAR
SUM
SALES AS '$ SALES'
BY CAR
ACROSS COUNTRY AS ''
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
INCLUDE=PROBLUE,
$
ENDSTYLE
END
And the column title for SALES does not appear!
Does anyone have a clue why this occurs? I've messed around with this and as long as more than one across field is specified the titles appear. But with a single field in the across the title does not appear.
Same happens in release 7.7.03, for all output formats. I'm sure it's a bug. A work-around is to add a reformat to the field, which, for some reason, causes the title to appear.
TABLE FILE CAR
SUM
SALES/D8 AS '$ SALES'
BY CAR
ACROSS COUNTRY AS ''
ON TABLE PCHOLD FORMAT PDF
END
WebFOCUS 7.7.05
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007
When you have one (1) field in an ACROSS, the rule has always been not to show the title. And this since the very early days of FOCUS on the M/F. When you have more than one, the titles appear. So when you reformat your single field, under the covers WF has issued a COMPUTE statement, hence 2 fields, hence titles. Logical, no?
Daniel In Focus since 1982 wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006
So when you reformat your single field, under the covers WF has issued a COMPUTE statement, hence 2 fields, hence titles. Logical, no?
No indeed! An invisible field should not impact formatting.
WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010 : Member of User Group Benelux :
Boo to IBI for not fixing what is obviously a long-standing bug
They could at least document this behaviour with the work-around. I'm with Wep on this one. Let's face it - in every other situation where you DON'T want a title you issue a command like AS '' - why should it be different here?This message has been edited. Last edited by: George Patton,