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.
After some head scratching I have finally managed to wrap ACROSSVALUEs in my PDF using the PARAG and GETTOK functions (why does a product costing tens of thousands of dollars require me - a user - to manipulate data to accomplish one of the most fundamental text-formatting problems?)
ACROSS LOWEST region NOPRINT ACROSS REGIONP1 AS '' ACROSS REGIONP2 AS '' ACROSS REGIONP3 AS '' ...
My problem now is that even with wrapped text the columns are the same width as before (with unwrapped text). The only reason I was wrapping the text was to reduce column width.
I've tried: - Setting the WIDTH property on DATA COLUNMN=N2 or REPORT COLUMN=N2 etc. makes no difference - Setting the WIDTH property on ACROSSVALUE makes no difference - Setting the WRAP property on ACROSSVALUE simply wraps ACROSSVALUE to about 0.75" (real world measurements, not the comedy PDF 'measurements') regardless of the number I specify - Setting SQUEEZE=on on ACROSSVALUE results in the 'no data' response! What's that about? - Setting SQUEEZE=0.5 on REPORT COLUMN=N2 etc. does change column width, but the width seems in no way related to the number I provide. If I specify 0.5 (which I assume to be 1/2 inch) the column is about 2 inches wide. If I specify 0.1 the column is about 1.5 inches and all the data values are replaced by '!'. Columns are still significantly wider than the wrapped ACROSSVALUE text.
If I seem frustrated and disenchanted then my text is accurately portraying my feelings. Having previously used SSRS I had no idea I could spend hours of my time (and precious project budget) trying to wrap some text.
Any suggestions on the width problem I described somewhere above - before I started moaning - would be really *really* appreciated.
Thanks, TomThis message has been edited. Last edited by: Kathleen Butler,
WebFocus 7.7 Windows Server 2008 R2 HTML Reporting
DEFINE FILE CAR
ASEAT/A20=DECODE SEATS(2 'TWO SEATER' 4 'REGULAR SEDAN' 5 'FAMILY WAGON');
END
-*
TABLE FILE CAR
SUM
DEALER_COST
BY COUNTRY
ACROSS ASEAT
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
type=acrossvalue,
ACROSS=1,
WRAP=2,
$
ENDSTYLE
END
If you run this you will see that the acrossvalue wraps on a blank.
However, if you add some more styling, as follows:
DEFINE FILE CAR
ASEAT/A20=DECODE SEATS(2 'TWO SEATER' 4 'REGULAR SEDAN' 5 'FAMILY WAGON');
END
TABLE FILE CAR
SUM
DEALER_COST
BY LOWEST COUNTRY
ACROSS ASEAT
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
INCLUDE = endeflt,
$
type=acrossvalue,
ACROSS=1,
WRAP=2,
$
ENDSTYLE
END
you will see that the acrossvalue wraps on a few characters. Changing the value of WRAP has no effect. I would open a case with IBI.
Daniel In Focus since 1982 wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006
Originally posted by TomC: why does a product costing tens of thousands of dollars require me - a user - to manipulate data to accomplish one of the most fundamental text-formatting problems?
Because writing a proper one costs more, as tempting as that is.
WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010 : Member of User Group Benelux :
The IBI support case I opened was eventually closed as irresolvable.
The closest we ever got was this article How to apply width to individual ACROSS column in Painter but it requires that you know the names of your ACROSS columns at design-time, thus (IMO) largely negating the value of ACROSS functionality.
WebFocus 7.7 Windows Server 2008 R2 HTML Reporting