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.
I am using Focus 7.6.4 and I have a report that is setup to output to Excel. My problem is, some of the cells are wider than they need to be. Below is the code in my style sheet and my question is how to I change these cells and leave the others as they are?
In HTML I would use COLUMN=N1, but that does not work in excel.
Doug, I tried using the column names but that did not work either. It is like it is ignoring whatever I put in. The only thing that works is setting the below code, but the report is still too wide to print on one page. All this does is set all columns to 1" which looks ok on the screen but some columns like cty code, dist and branch, which will never be more than 3 characters could be set to .5" to decrease the width of the report.
ON TABLE SET STYLE * UNITS=IN, WRAP=1, ORIENTATION=LANDSCAPE, $ TYPE=REPORT, GRID=OFF, FONT='ARIAL', SIZE=8, $ TYPE=TITLE, FONT='ARIAL', STYLE=BOLD, SIZE=8,
Please post the whole code (between code tags) - if you specify a report column more than once (e.g. once in a DEFINE or COMPUTE or NOPRINT and once on the report), you have to use syntax like this in the stylesheet:
COLUMN=COUNTRY(2)
...
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
Ok, I figured out why my columns were not changing. I was not counting my BY fields which are set to NOPRINT. I had to start Counting in Column N7 to pick up the first printed field on my report. I was then able to use the WRAP command to fix my columns. Below is the code.
The column notation supports P as well as N, you can reference by the output or printed columns.
Documentation states:
Pn
Identifies a column by its position in the report. To determine the value of n, count vertical sort (BY) fields, display fields, and ROW-TOTAL fields from left to right. Do not count NOPRINT fields.