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     Truncated Field Values?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Truncated Field Values?
 Login/Join
 
Guru
posted
I don't know if I described the problem correctly but here goes.
OK, I have this report where one of the field values is real long and is making the column stretch far out.
If I sqeeze the column then the field value gets truncated (example ENGLA!).
Is there a way in WebFOCUS to do a line break or something that will make the field value take up the space of two rows.

Here is a CAR file I was playing with.
  
DEFINE FILE CAR
COUNTRY_CAR/A110 = COUNTRY || '-' || CAR || '-' || MODEL || '-' ||COUNTRY || '-' || CAR || '-' || MODEL;
END
TABLE FILE CAR
PRINT
     COUNTRY_CAR
     RETAIL_COST
     DEALER_COST
BY COUNTRY NOPRINT
ON COUNTRY PAGE-BREAK
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
     UNITS=IN,
     PAGESIZE='Letter',
     LEFTMARGIN=0.50000,
     RIGHTMARGIN=0.50000,
     TOPMARGIN=0.50000,
     BOTTOMMARGIN=0.50000,
     SQUEEZE=ON,
     ORIENTATION=LANDSCAPE,
$
TYPE=REPORT,
     GRID=ON,
     FONT='ARIAL',
     SIZE=10,
     COLOR='BLACK',
     BACKCOLOR='NONE',
     STYLE=NORMAL,
     RIGHTGAP=0.125000,
$
ENDSTYLE
END


I would like the field values in the first column COUNTRY_CAR to take up two rows instead of forcing the column to stretch out.
The reports I am working with are PDFs.

Thanks,
Max


WebFOCUS 8.1.05M Unix Self-Service/MRE/Report Caster - Outputs Excel, PDF, HTML, Flat Files
 
Posts: 320 | Location: Memphis, TN | Registered: February 12, 2008Report This Post
Virtuoso
posted Hide Post
What you are wanting to do is called WRAP which will wrap a field to a second line based on a specified column width, whereas SQUEEZE truncates at the specified width.

You can find a lot of documentation and postings regarding this functionality by using the forum's "Search" functionality and there are a couple of really good articles by Mickey Grackin in the developer area that deal with this and related formatting topics.

Try inserting the following just before the ENDSTYLE and see if you get what you need.

TYPE=REPORT, COLUMN=N2, WRAP=3.0,$


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Virtuoso
posted Hide Post
Also, sometimes changing the font used or the font size will help. You could try courier.


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Master
posted Hide Post
Or you could break it into 2 fields and print one OVER the other. Check PARAG, GETTOK and SUBSTR.


Pat
WF 7.6.8, AIX, AS400, NT
AS400 FOCUS, AIX FOCUS,
Oracle, DB2, JDE, Lotus Notes
 
Posts: 755 | Location: TX | Registered: September 25, 2007Report 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     Truncated Field Values?

Copyright © 1996-2020 Information Builders