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     lost my rightgap setting for my report

Read-Only Read-Only Topic
Go
Search
Notify
Tools
lost my rightgap setting for my report
 Login/Join
 
Platinum Member
posted
Hi All,

I have a pdf report with the following stylesheet settings for the report:

TYPE=REPORT,
FONT='TIMES',
SIZE=9,
SQUEEZE=ON,
STYLE=NORMAL,
RIGHTGAP=0.10000,
ORIENTATION=LANDSCAPE,
$

This was working fine until I added the following to alternate background colors on my detail lines:

TYPE=DATA, BACKCOLOR=( 'WHITE' RGB(231 231 231) ), $

With this line added, the rightgap setting seems to be ignored and my report is too wide because of the spacing between each column. Does anyone know how to get both of these features to work together?

Thanks
Jim


WF DevStu 5.2.6/WF Srv 5.2.4/Win NT 5.2
 
Posts: 118 | Location: Lincoln Nebraska | Registered: May 04, 2005Report This Post
Expert
posted Hide Post
I would add the RIGHTGAP to the TYPE=DATA line.


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
Hi Francis,

I tried that and got the following error:

(FOC3237) STYLESHEET KEYWORK INVALID IN THIS CONTEXT: RIFHTGAP

Jim


WF DevStu 5.2.6/WF Srv 5.2.4/Win NT 5.2
 
Posts: 118 | Location: Lincoln Nebraska | Registered: May 04, 2005Report This Post
Expert
posted Hide Post
quote:
RIFHTGAP

I hope that's a typo in your posting and not in your fex! Smiler

Sorry, I guess RIGHTGAP only works at the report level.

Looks like the behaviour you're seeing is a bug. Frowner

Although I've never noticed this before, and I use LEFTGAP, RIGHTGAP and alternating colours in all my reports.


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
Expert
posted Hide Post
Jim,

Looks like you have a dyslexic keyboard like me! Wink

It may be of little comfort, but the following code to mimic your problem, works perfectly OK in 7.1.3 with acrobat 7.0, with no change in right gap with or without the colour styling line.

TABLE FILE CAR
SUM RCOST   AS 'Retail,Cost'
    DCOST   AS 'Dealer,Cost'
 BY COUNTRY AS 'Country'
 BY CAR     AS 'Car'
SUM RCOST   AS 'Retail,Cost'
    DCOST   AS 'Dealer,Cost'
 BY COUNTRY AS 'Country'
 BY CAR     AS 'Car'
 BY MODEL   AS 'Model'
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
TYPE=REPORT, UNITS=IN, FONT='TIMES', SIZE=9, SQUEEZE=ON, STYLE=NORMAL, ORIENTATION=PORTRAIT, RIGHTGAP=0.10000,
     BORDER-TOP=LIGHT, BORDER-LEFT=LIGHT, BORDER-RIGHT=LIGHT, BORDER-BOTTOM=LIGHT, $
TYPE=REPORT, COLUMN=COUNTRY, SQUEEZE=1.00, $
TYPE=REPORT, COLUMN=CAR, SQUEEZE=1.00, $
TYPE=REPORT, COLUMN=MODEL, SQUEEZE=1.50, $
TYPE=REPORT, COLUMN=RCOST(*), SQUEEZE=0.70, $
TYPE=REPORT, COLUMN=DCOST(*), SQUEEZE=0.70, $
TYPE=DATA, BACKCOLOR=('WHITE' RGB(231 231 231)), $
ENDSTYLE
END
-RUN


The question is, how does this code run on your installation? Does it demonstrate the problem you are experiencing?

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Expert
posted Hide Post
This appears to work as expected on our 5.3.4 WF server.


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
Expert
posted Hide Post
Francis,

It might be because I tend to control the columns widths on PDF reports by using SQUEEZE or WRAP and ensuring that the combined width of all columns doesn't exceed the width available, rather than let WebFOCUS (or any other prog. language!) attempt to control it.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report 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     lost my rightgap setting for my report

Copyright © 1996-2020 Information Builders