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     PDF Stylesheet problem: WRAP with OVER doesn't work properly

Read-Only Read-Only Topic
Go
Search
Notify
Tools
PDF Stylesheet problem: WRAP with OVER doesn't work properly
 Login/Join
 
Expert
posted
Has anyone else encountered the following problem with PDF reports?

I use WRAP in the style-sheet to control the width of a report column. Since the report rows are created using OVER, I specify WRAP for the two fields that are one over the other.

Here's a snippet of report code:

TABLE FILE R026H030
PRINT
P1_PERIOD_END_DT              AS ''

P1_CUST_NMX                   AS ''

P1_PROV_STAT_NAMEX            AS ''

P1_C_CUR_RISK_RTG_CD          AS ''
P1_C_PRO_RISK_RTG_CD          AS ''

...

OVER

P2_PERIOD_END_DT              AS ''

P2_CUST_NMX                   AS ''

P2_PROV_STAT_NAMEX            AS ''

P2_C_CUR_RISK_RTG_CD          AS ''
P2_C_PRO_RISK_RTG_CD          AS ''

...

Here's a snippet of style-sheet code:

...

TYPE=REPORT, COLUMN=P3,  WRAP=2.0, $
TYPE=REPORT, COLUMN=P19, WRAP=2.0, $

TYPE=REPORT, COLUMN=P4,  WRAP=0.7, $
TYPE=REPORT, COLUMN=P20, WRAP=0.7, $

TYPE=REPORT, COLUMN=P13, WRAP=2.0, $
TYPE=REPORT, COLUMN=P29, WRAP=2.0, $

TYPE=REPORT, COLUMN=P5,  RIGHTGAP=0.1, $
TYPE=REPORT, COLUMN=P21, RIGHTGAP=0.1, $

...

Here's the problem:

The columns after OVER (the second row) that I have WRAP specified for are displayed without the second line of the wrapped text.

This message has been edited. Last edited by: Francis Mariani,


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

I would go for a totally other solution to avoid the "over" solution, but that was not your question.

Do the other columns have a fixed width too?
I mean all the columns.

Frank




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Expert
posted Hide Post
I don't use WRAP for any other of the report columns.

I need to use MATCH to merge two extract files. I suppose I could separate the data back to two individual files after the MATCH and then use MORE to include both of them in the report.

Hmmmm - some food for thought, thank you Frank.


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
Virtuoso
posted Hide Post
yes that is what I should do.
mayb add a codefield (source) to the both so you can see which record comes from file A and which from file B.
In the final report you can say

PRINT ....
BY borrowercode etc...
BY source...




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report 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     PDF Stylesheet problem: WRAP with OVER doesn't work properly

Copyright © 1996-2020 Information Builders