Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Silly problem with Column Titles in Excel 2000 format

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Silly problem with Column Titles in Excel 2000 format
 Login/Join
 
Expert
posted
Does anyone else get bothered by silly things like this?

If you use commas to create a multi-line column title in an Excel 2000 report, the width of the column is as wide as the column title without the commas! You can override this width with SQUEEZE, but why should you need to?

Example:

TABLE FILE CAR
SUM
COUNTRY AS 'Country'
COUNTRY AS 'This,Is,The,Country'
SALES AS 'Sales'
BY COUNTRY NOPRINT
ON TABLE PCHOLD FORMAT EXL2K
END

This message has been edited. Last edited by: Kerry,


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Virtuoso
posted Hide Post
Yes...that bothers me also...what is up with that? Seems it does recognize it enough to stack it..but does not bother to notice it is stacked!


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Expert
posted Hide Post
This occurs in WF 5.3.2. Don't tell me it's still happening in 7.1.6?!


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Virtuoso
posted Hide Post
OK...I won't tell you... Eeker


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Virtuoso
posted Hide Post
O that's the reason
I saw this happen but never realized the wrapping was caused by this.
So I have to set "squeeze = off" (or on)?




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Virtuoso
posted Hide Post
I don't know as truly bothered, but what gets me is it is left justified and has some wierd character in excel that causes issues.


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Virtuoso
posted Hide Post
Somehow I'm sure we are going to be told it is a Microsoft Problem.


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Member
posted Hide Post
I'm able to get SQUEEZE to work most of the time if I code it for each column, instead of using a report level SQUEEZE=ON. Even coded for each column it doesn't work for all columns and I have yet to figure out why, but most of the time is better than not at all. Smiler

IBI knows about this issue, especially since I've had a case open since early 2005. AFAIK IBI is still working on this as a new feature. The last response I received in late 2005 from Noreen follows:

Sue, I got this back from the programming manager. It looks like it can't be done (he explains why), but he does offer two suggestions:
After researching this problem, I've come to the conclusion that there's nothing we can do to make our current method of generating multi-line titles work. It seems that the code we have for formatting multi-line titles is inherited from the HTML code, where a < BR > tag has the desired effect of breaking the text in a cell into multiple lines of the correct width. However, Excel doesn't treat this syntax in a consistent manner. This is probably because there's no way of generating a cell with explicit line breaks in it using the Excel user interface -- i.e., it's not something that Excel was designed to support.
The only reliable solution I can think of is to place each line of the title in a separate cell. If we do this, however, you would get the light grid-lines between the lines of the title, making it less readable than it currently is. (To make the title stand out more from the rest of the report, one might change its format, e.g., make it bold.) I'll discuss this possibility with WebFOCUS product management and see whether they think we should go in that direction. Also, once we implement cell borders and underlines in Excel (an ongoing long-term development project), multiple-cell titles could be separated from the report by a heavy line, making them more readable.

In the meantime, if a user wants to generate multi-line titles, I can suggest two possible work-arounds:

1. Generate the title as a single line, and tell Excel to wrap it to a desired width:

TABLE FILE CAR
SUM SALES AS 'These are my sales for this year' BY COUNTRY ON TABLE PCHOLD FORMAT EXL2K ON TABLE SET STYLE * type=report, column=sales, wrap=.75, $ END

(This would be what an Excel user would most likely do if he were to build a spreadsheet by hand.)


2. Generate custom titles using a heading that arranges them on multiple lines:

TABLE FILE CAR
" <+0>These are"
" <+0>my sales for"
"Country<+0>this year"
SUM SALES AS '' BY COUNTRY AS ''
ON TABLE PCHOLD FORMAT EXL2K
ON TABLE SET STYLE *
type=heading, headalign=body, style=bold, $ END

We'll obviously talk on Thursday, see what you think. Noreen


Sue

 
Posts: 18 | Registered: October 06, 2005Report This Post
Expert
posted Hide Post
Unfortunately, the programming manager is wrong about Excel not having explicit line-breaks in the user interface - she/he should try alt-enter - this gives you a line-break in a cell.


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
Just FYI: This is still an issue in 769 hf4... Roll Eyes
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Virtuoso
posted Hide Post
So it is in 7.6.11.



Prod/Dev: WF Server 8008/Win 2008 - WF Client 8008/Win 2008 - Dev. Studio: 8008/Windows 7 - DBMS: Oracle 11g Rel 2
Test: Dev. Studio 8008 /Windows 7 (Local) Output:HTML, EXL2K.
 
Posts: 1533 | Registered: August 12, 2005Report This Post
Expert
posted Hide Post
I've started coding my column titles slightly differently. In Dialogue Manager I have this code:

-*-- Report Column Title text separator character ----------
-SET &CTS = IF &OUTPUT EQ 'E' THEN ' ' ELSE ',';


Then I code my column titles like this:

BOR_RRS_CD AS 'Risk&CTS|Rating&CTS|System'

The code is a little clumsy, but at least the end user is not annoyed.


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Member
posted Hide Post
Also, referring to a column by it's N or P position seems to be ignored as well. It only seems to work when you specify the column name. Which I have had problems with because I do a lot of inline formatting (PRICE/D9C AS 'Price') and in the code above referring to PRICE in the stylesheet does not work.
 
Posts: 29 | Registered: July 17, 2007Report This Post
Expert
posted Hide Post
Tim, you may get the styling to work if you code it as:
TYPE=DATA, COLUMN=PRICE(*),..
or
TYPE=DATA, COLUMN=PRICE(1),..
or
TYPE=DATA, COLUMN=PRICE(2),..
(*) means all columns with the name, (1), (2) means the first or second column with the name - one of these should address the the column in the PRICE/D9C AS 'Price' code.


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Member
posted Hide Post
Thanks, I tried all of the following with no luck:

TYPE=REPORT, COLUMN=PRICE(*), WRAP=0.5, $
TYPE=REPORT, COLUMN=PRICE(1), WRAP=0.5, $
TYPE=REPORT, COLUMN=PRICE(2), WRAP=0.5, $
TYPE=DATA, COLUMN=PRICE(*), WRAP=0.5, $
TYPE=DATA, COLUMN=PRICE(1), WRAP=0.5, $
TYPE=DATA, COLUMN=PRICE(2), WRAP=0.5, $
 
Posts: 29 | Registered: July 17, 2007Report This Post
Expert
posted Hide Post
Tim,

Add ", COLOR=RED" to the styling line - I do this to ensure the targeted component is correctly addressed - perhaps the styling line works, but the WRAP does not...


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Silly problem with Column Titles in Excel 2000 format

Copyright © 1996-2020 Information Builders