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 am trying to display value of a variable in my report at the heading section with report output in PDF format . The value in the string is of larger length (about 750).What happens is only partial value is getting displyed, the remaing is getting truncated. Is it possible to wrap the value in a variable?
Please try with this code
-SET &VAL='WebFOCUS Developer Studio provides an integrated development environment and GUI tools for quickly building '; TABLE FILE CAR HEADING "&VAL"
PRINT * ON TABLE SET ONLINE-FMT PDF END
Thanks, Sridevi
Thanks & Regards, Sridevi Webfocus 7.6.5 | Windows | HTML
Posts: 36 | Location: India | Registered: October 06, 2005
Quick and dirty method as I do not believe that there is a wrap styling available in the heading. Just change the &Trim value to the length you want it to be. Note that I have not included niceties such as word preservation (e.g. breaking at a space) - as I said it is a quick and dirty method. However it will provide you with an example to build upon -
-SET &VAL='WebFOCUS Developer Studio provides an integrated development environment and
GUI tools for quickly building ';
-SET &Len = 1;
-SET &Trim = 38;
-SET &TrimLen = &Trim;
TABLE FILE CAR
HEADING
-REPEAT :Loop WHILE &Len LT &VAL.LENGTH;
-SET &Heading = SUBSTR(&VAL.LENGTH, '&VAL.EVAL', &Len, &TrimLen, &Trim, 'A&Trim.EVAL');
-SET &Len = &Len + &Trim;
-SET &TrimLen = IF &Len + &Trim LE &VAL.LENGTH THEN &Len + &Trim ELSE &VAL.LENGTH;
"&Heading.EVAL"
-:Loop
PRINT *
ON TABLE SET ONLINE-FMT PDF
END
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
-SET &VAL='WebFOCUS Developer Studio provides an integrated development environment and GUI tools for quickly building '; DEFINE FILE CAR OINKOINK/A256='&VAL'; END TABLE FILE CAR HEADING " <OINKOINK " PRINT CAR ON TABLE SET ONLINE-FMT PDF ON TABLE SET STYLE * TYPE=HEADING,LINE=1,OBJECT=FIELD,WRAP=2.0,$ ENDSTYLE ENDThis message has been edited. Last edited by: <RickW>,