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.
We had a weird problem appear where the exl2k report displayed fine on the screen but when they went to print or do a print preview, the amount column displayed ##### (for the very large numbers) instead of the amount and the time date stamp field only printed the date (no time). I fixed this by decreasing the font (or at least it appears to be fixed). I'm now trying to shrink (basically fit to size) some of the other fields so that everything will print on a landscape page. If I double click on the line separating the columns in exl2k, it does shrink the column so there is space to be removed. My customer does not want to manually have to click on the lines in exl2k. I've tried changing squeeze=on and playing with the width but nothing seems to shrink the columns in exl2k (the colors are changing so I am selecting the right fields). Any thoughts?
Also, was there another way to fix the print preview problem without shrinking the font size? We have a standard to use the same size on all reports, so I'm deviating from that standard to fix the printing problem.
You were close but your are using the wrong keyword. WIDTH is used for HEADING, SUBHEAD, SUBFOOT and FOOTING contents. To control the width of a column in the report, SQUEEZE or WRAP should be used.
Here's an example using the CAR file.
TABLE FILE CAR SUM RCOST DCOST SALES BY COUNTRY BY CAR BY MODEL BY BODYTYPE ON TABLE PCHOLD FORMAT EXL2K ON TABLE SET STYLE * TYPE=REPORT, COLUMN=COUNTRY, WRAP=1.0,$ TYPE=REPORT, COLUMN=CAR, WRAP=1.0,$ TYPE=REPORT, COLUMN=MODEL, WRAP=1.5,$ TYPE=REPORT, COLUMN=BODYTYPE, WRAP=1.5,$ TYPE=REPORT, COLUMN=RCOST, WRAP=1.0,$ TYPE=REPORT, COLUMN=DCOST, WRAP=1.0,$ TYPE=REPORT, COLUMN=SALES, WRAP=1.0,$ ENDSTYLE END
I explain the usage of WRAP, SQUEEZE and WIDTH in the two articles I wrote about WebFOCUS HTML and PDF Report Design. You can find these articles under Tips and Techniques on Focal Point.
Thanks!
Mickey
FOCUS/WebFOCUS 1990 - 2011
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003