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] Excel Format

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Excel Format
 Login/Join
 
<José Andrés Vargas Aguilar>
posted
Hy there!

Have you ever output data on Excel format and when you see the file it turns out you've got to select all rows and columns and double click the borders of one of each group in order to have a nice Content-Justified cells?

I want my XLS reports to be already Content-Justified. Is there any command I can use on the stylesheet (or elsewhere) to achieve it?

Is it supported?

Thanks!

This message has been edited. Last edited by: Kerry,
 
Report This Post
Virtuoso
posted Hide Post
José Andrés, the behaviour you describe happens very frequently particularly when using column titles that have commas to make a line-break. In EXL2K format, WebFOCUS determines the width of a column based on the largest value displayed in the column or its title (whichever is the biggest).

One would think that WebFOCUS would take into consideration those line-breaks in column titles when calculating the maximum column width but it doesn't. For instance, in a request such as:
TABLE FILE CAR
SUM SALES AS 'Total,Sales'  <-- 11 characters 
END

The width of the SALES column in characters (based on the title at least) is treated as 11 even though one would argue that it should be 5.
Total  <-- 5 characters
Sales  <-- 5 characters too


The only way I've found to have some sort of control over the column width is to actually define it in the stylesheet via:
TYPE=REPORT, COLUMN=n, WRAP=n, ...


At least that's the way I do it in WF 5.3.4. Maybe the latest 7.6.x versions are more flexible ... or aren't they?



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
Platinum Member
posted Hide Post
As njsden stated, I have to adjust columns for Excel output by overriding the WebFocus column widths in the style sheet. It's a bummer but you can use a loop and adjust multiple columns in one shot if you have many numeric columns in the output.

I wish that WebFocus was a bit smarter in this regard too.


prod:7.6.9, win2k3 mre, caster, bid, devstudio 7.6.9
 
Posts: 242 | Location: Minneapolis | Registered: February 16, 2006Report 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] Excel Format

Copyright © 1996-2020 Information Builders