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've created a WebFocus report going to a pdf file. I have SQUEEZE=ON, GRID=OFF and have added SET SPACES=1. I've put the font size to 8. All to no avail. There are huge gaps between the 7 columns forcing it to panel to page 1.2. How can I get rid of these gaps?
Posts: 20 | Location: Syracuse NY | Registered: August 26, 2005
I added the code but it appeared to have no affect. I even decreased the numbers. I tried both of these... ON TABLE SET ONLINE-FMT PDF ON TABLE PCHOLD FORMAT PDF I'm not sure what the difference is between them but neither one worked any differently.
Posts: 20 | Location: Syracuse NY | Registered: August 26, 2005
LEFTGAP and RIGHTGAP control the spacing between the data values and the boundries of the cell it is in. Basically, these two settings act like the CELLPADDING tag in HTML.
In order to control the WIDTH of each column in a PDF output, use the WRAP or SQUEEZE commands. WRAP will do exactly that. If a value is longer than the width specified in the WRAP command then it will wrap the value to the next line within the column. SQUEEZE will truncate the value and i'm pretty sure puts a '!' at the end of the value to indicate it was truncated.
It is interesting to note that even with SQUEEZE=ON, there were "huge gaps between the 7 columns". There was no suggestion that the data in the columns was very long, hence necessitating the use of WRAP.
You're right, Francis. The data was not very long at all - one 50 char description field being the longest. I thought the WRAP had worked but when I scrolled down through the report, it turned into funky things - asterisks, repeated numbers, etc. I opened an IBI problem report and got the answer below. The IN +1 worked, the PRINTPLUS didn't seem to do much.
FROM IBI: Try setting PRINTPLUS=ON at the top of your Procedure.
Or just use the IN parameter.
TABLE FILE CAR PRINT SEATS IN +1 SALES IN +1 RCOST DCOST CAR BY COUNTRY BY MODEL IN +1 BY BODYTYPE IN +1
Posts: 20 | Location: Syracuse NY | Registered: August 26, 2005
Is it just me or does it sound strange that using the IN +1 would fix a problem like this? Since working with WebFOCUS I have all together abandoned use of the IN phrase because it is meaningless in the HTML world. I also didn't think it would be necessary to use when creating a PDF since WRAP or SQUEEZE has always worked for me. Maybe I do not understand the rest of your FOCEXEC and whether or not you are doing some other formatting to the report in combination with the WRAP command that would cause this problem.
Sounds very strange to me but I'm glad it works for you.
If you can share additional code to help us see the light that would be great since this is sticking in my head as an open ended issue. The problem was resolved but WHY the use of IN +1 fixed it makes no sense to me. Can anyone educate me?
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003