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.
In one report I have a column title which I want displayed AS 'First 1,000'. But the comma is reserved in the title to break the line into multiple lines. Is there anyway to get it to display in the column total or am I forced to go without commas? AS 'First 1000'
We're now getting to the situation where something that shouldn't work, does. All I would say is beware, because if you start to rely upon it you will soon find that in subsequent releases the behaviour will be tightened and you may find it no longer works.
Rule no.1 - Use undocumented features at your own risk!
T (harbinger of doom)
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
T, I understand your point that this may be an undocumented feature. There have been file structures that allow for a field name to contain a space. In order for FOCUS to print a field with a space it needs to be included in single quotes.
SET ASNAMES = ON TABLE FILE CAR PRINT SALES AS 'CAR SALES' BY COUNTRY ON TABLE HOLD END ? HOLD TABLE FILE HOLD PRINT 'CAR SALES' BY COUNTRY END -EXIT
WF 8 version 8.2.04. Windows. In focus since 1990.
Posts: 189 | Location: pgh pa | Registered: October 06, 2004
Spence, I agree that the method that you have shown works and I find it very tempting to utilise that quirk, however, the following is from 4.3 documentation -
Valid characters in a name. All names must begin with a letter, and can include any combination of letters, numbers, and underscores ( _ ).
The names of applications, virtual servers, and deployment scenarios can also include embedded spaces. (Other types of names cannot include spaces.)
All I say is user beware.
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
In the Creating Reports manual (7.1) page 10-15 states -
Special characters and blanks used in the AS phrase are preserved in the field name that is created when SET ASNAMES is used. Use single quotation marks around the non-standard fieldnames when refering to them in the newly created Master File.
So it would appear that there is some documentation to support it's usage. Well done!
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004