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     [WORKAROUND] Unwanted Spaces in PDF First Columns when Using OVER

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[WORKAROUND] Unwanted Spaces in PDF First Columns when Using OVER
 Login/Join
 
Member
posted
I am getting an unwanted spaces in the first columns of the report when using OVER in the PDF format. This is not occuring in HTML format. Please share your ideas to remove the space.

In the example shown below i am getting the unwanted space in the first columns as follws:
VALINO BELLA CASSANOVA
000000010 000000020 000000030
MARKETING MARKETING SALES

 
TABLE FILE EMPDATA
SUM LASTNAME AS '' OVER PIN AS '' OVER DEPT AS ''
ACROSS DEPT NOPRINT 
ACROSS DIV NOPRINT
WHERE RECORDLIMIT EQ 3
ON TABLE SET STYLEMODE FIXED 
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
TYPE=REPORT, SQUEEZE=0.7, FONT=ARIAL, SIZE=8, LEFTMARGIN=1, TOPMARGIN=1,
 LEFTGAP=0, RIGHTGAP=0, GAPINTERNAL=OFF, $
TYPE=REPORT, BORDER=ON, $
ENDSTYLE
END 


Thank you...

This message has been edited. Last edited by: Arunkumar,
 
Posts: 12 | Registered: July 01, 2008Report This Post
Expert
posted Hide Post
I don't see spaces in the first column when I run this in WF 7.7.03. Perhaps you can provide a screen shot...



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
Platinum Member
posted Hide Post
Likewise, no space in 8.0.1


WF 7.7.04, WF 8.0.7, Win7, Win8, Linux, UNIX, Excel, PDF
 
Posts: 175 | Location: Pomona, NY | Registered: August 06, 2003Report This Post
Member
posted Hide Post
Francis and Alex,
Thank you fo your reply.
I see the space in Francis output. If you notice the output closely you can see the space in the first column of the three rows and not in the other columns.
Example: Look at the value MARKETING in the first column and second column. After the value we have a space in first column (MARKETING) and not in the second column (MARKETING) eventhough both has same size. Hope you understand what i am mentioning to.

Thank you.
Arun

This message has been edited. Last edited by: Arunkumar,
 
Posts: 12 | Registered: July 01, 2008Report This Post
Platinum Member
posted Hide Post
You can WRAP the data.
Identify the column number (N*) correctly.
The stylesheet code may look like

TYPE=ACROSSDATA, COLUMN=N1, WRAP=0.3,$ (just an example)
 
Posts: 165 | Registered: September 29, 2008Report This Post
Platinum Member
posted Hide Post
Arun,

I think I'm seeing what you're saying -
Column 1 is wider than column 2 and column 3, even though the data isn't any wider.


WebFOCUS 8.2.06 mostly Windows Server
 
Posts: 195 | Location: Johannesburg, South Africa | Registered: September 13, 2008Report This Post
Platinum Member
posted Hide Post
It would be interesting to see who has a solution for you.
But this article touches on a similar issue:
http://forums.informationbuild...1057331/m/5337019116
As njsden said: Personally, I try not to use OVER or ACROSS (and definitely never together).


WebFOCUS 8.2.06 mostly Windows Server
 
Posts: 195 | Location: Johannesburg, South Africa | Registered: September 13, 2008Report This Post
Virtuoso
posted Hide Post
From the manual, regarding controlling column width in PDF output:
quote:
Note: SQUEEZE is not supported for columns created with the OVER phrase.
(Also mentioned in the post link in Twanette's reply.)


WebFOCUS 7.7.05
 
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007Report This Post
Member
posted Hide Post
Thank you All for your Replies...

Twanette,
As you mentioned and njsden said, i tried to create a same kind of report without using OVER and ACROSS together. And that works for me as what i expected. I mean the space is not present in PDF format now as earlier.
I learned form this that not to use OVER and ACROSS together (atleast in PDF) Smiler

Here is the sample code what i changed :

 
SET ACROSSLINE = OFF
DEFINE FILE EMPDATA 
DUMMY/A1 = '';
END
TABLE FILE EMPDATA
SUM DUMMY 
ACROSS DEPT NOPRINT 
ACROSS DIV NOPRINT
ACROSS LASTNAME AS '' 
ACROSS PIN AS '' 
ACROSS HIREDATE AS ''
WHERE RECORDLIMIT EQ 3
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET PAGE NOLEAD
ON TABLE SET STYLE *
TYPE=ACROSSVALUE,
BORDER-TOP=OFF, 
BORDER-BOTTOM=OFF, 
BORDER-RIGHT=LIGHT, 
BORDER-LEFT=LIGHT, 
JUSTIFY=CENTER,
$
ENDSTYLE
END 




-Arun
 
Posts: 12 | Registered: July 01, 2008Report 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     [WORKAROUND] Unwanted Spaces in PDF First Columns when Using OVER

Copyright © 1996-2020 Information Builders