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.
I have a PDF report, in which one of the rows that is being shown is a big text field.
When I try to insert that field in the report... it works in HTML whereas in PDF, it only shows till the end of the line and cuts the remaining part.
Rather, it should go to the next line...to display the remaining part of that field.
So, for eg:
if this is the line: HE DIDN'T MAKE IT HERE FOR TWO DAYS AND THEN WHEN HE DID SHOW UP IT WAS 15 MINUTES BEFORE WE WERE READY TO CLOSE. HE WAS AWARE OF OUR HOURS
it only shows...a part of that line....that fits in one line.
the output in pdf is: HE DIDN'T MAKE IT HERE FOR TWO DAYS AND THEN WHEN HE DID SHOW UP IT WAS 15 MINUTES BEFORE WE WERE READY TO CLO -------------
thanks
how can i wrap the line...so that the remaining part is displayed on the next line?
TABLE FILE CAR PRINT COUNTRY COMPUTE TEST_TEXT/A200 = 'HE DIDN'T MAKE IT HERE FOR TWO DAYS AND THEN WHEN HE DID SHOW UP IT WAS 15 MINUTES BEFORE WE WERE READY TO CLOSE. HE WAS AWARE OF OUR HOURS'; WHERE READLIMIT EQ 100 WHERE RECORDLIMIT EQ 100 HEADING " " ON TABLE PCHOLD FORMAT PDF ON TABLE SET PAGE NOLEAD ON TABLE SET STYLESHEET * TYPE=REPORT, GRID=OFF, FONT='ARIAL', SIZE=8, $ TYPE=REPORT, COLUMN=TEST_TEXT, COLOR=BLUE, WRAP=5, $ ENDSTYLE END
I assume when you say "big text field" you mean a field format of Annn and not TXnn. There is a STYLESHEET option of WRAP which will cause a field to be wrapped the way you want. I cannot find the syntax offhand but check the manual for WRAP.
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003
WRAP=n where n is a specific numeric value that the column width can be set to, based on the TYPE=REPORT,UNITS=INCHES/CM/PTS where INCHES is the default.
You can use Annn or TXnn but they will act differently.
Annn puts ALL the contents in one "cell". For example, if you have a value that is 350 characters long, the entire contents goes in one cell.
If the format is TX50, for example, then WebFOCUS will break the text string into 50 character chunks and put each part in a seperate cell, one above the other, in the same column.
If WRAP is applied for restrict to 1.5 inches, for example, to force less than 50 characters on a single line, Annn will wrap the text within the same cell and will look nice. This is more of what you are looking for. However, since TXnn splits the value into seperate cells, each cell will be wrapped individually and will look odd.
This is the nature of the TXnn format. Annn format became available in later releases of FOCUS/WebFOCUS. TXnn is the "old" way of handling long characters strings.
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003
thanks for your replies. WRAP is working in this case...however, wrap brings in a linebreak along with it. So, if the line that is wrapped has no data...then instead of 1 blank line we get 2 blank lines.
I know, making GRID=ON can remove that extra line.