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     Problem with wrapping on pdf report

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Problem with wrapping on pdf report
 Login/Join
 
<new2focus>
posted
How can I wrap the large_text value in this report? Wrapping doesn't seems working on this case. But is working for an example from another post. previous post What am I missing here?
Also how can I enforce nosplit on mas_cntry?(I am trying create a master-detail report item sales)

SET ASNAMES=ON

TABLE FILE CAR
PRINT
CAR AS 'MAS_CAR'
MODEL AS 'MAS_MODEL'
BODYTYPE AS 'MAS_TYPE'
BY
COUNTRY AS 'MAS_CNTRY'
ON TABLE HOLD AS CAR_MASTER
END

JOIN MAS_CNTRY IN CAR_MASTER TO ALL COUNTRY IN CAR AS MC1
END

DEFINE FILE CAR_MASTER
CAR_INFO/A60 = '[' || CAR || '-' || MODEL || '-' || BODYTYPE || ']';
LARGE_TEXT/A600 = IF COUNTRY EQ LAST COUNTRY
THEN (SUBSTR(600, LARGE_TEXT, 1, ARGLEN(600, LARGE_TEXT, 'I3'), ARGLEN(600, LARGE_TEXT, 'I3'), 'A535')
|| ' - ' || CAR_INFO) ELSE CAR_INFO;

END

TABLE FILE CAR_MASTER
PRINT
COUNTRY IN +4 AS ''
CAR AS ''
MODEL AS ''
BODYTYPE AS '' OVER
LARGE_TEXT IN +8 AS ''

BY MAS_CNTRY AS ''
BY MAS_CAR AS ''
BY MAS_MODEL AS ''
BY MAS_TYPE AS '' FOLD-LINE

ON TABLE PCHOLD FORMAT PDF
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE SET STYLE *
UNITS=IN, PAGESIZE='A4', SQUEEZE=ON, ORIENTATION=LANDSCAPE,
LEFTMARGIN=0.39, RIGHTMARGIN=0.39, TOPMARGIN=0.0, BOTTOMMARGIN=0.0, $

TYPE=REPORT, GRID=OFF, TOPGAP=0.03, BOTTOMGAP=0.06,FONT='HELVETICA', SIZE=8,
COLOR='BLACK', BACKCOLOR='NONE', STYLE=NORMAL, $

TYPE=REPORT,COLUMN=N9, WRAP=7.00,$
ENDSTYLE
END

This message has been edited. Last edited by: <Mabel>,
 
Report This Post
Guru
posted Hide Post
I removed the OVER from your code and the WRAP worked fine. I don't really know why remove that would make it work correctly.
 
Posts: 406 | Location: Canada | Registered: May 31, 2004Report This Post
<new2focus>
posted
Client wanted the large text information on a seperate line and it can be 0-600 characters long. Do I have any other options to solve this issue?

What is the difference between FOLD-LINE and OVER. I read the manul, but didn't understand completely.
 
Report 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     Problem with wrapping on pdf report

Copyright © 1996-2020 Information Builders