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 field with Member Names formatted as LastName, Firstname I want the report to WRAP on the comma. For example Smith, Joe should print like this:
If it's for HTML only, you can use the string substitution function to replace the comma by a line break (, ). This *might* work for Excel. I don't think there's any way to do it for PDF.
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
The output format is PDF. There are several columns in the report that need to be on multiple lines. Some will use commas as the delimiter and others will use spaces. The Crystal report sample does it very nicely - I was hoping I could duplicate what they did in Crystal.
Yes, WebFOCUS supports line breaks within PDF report columns.
-* File PDFSkipLine.fex
APP PREPENDPATH IBISAMP
-*
DEFINE FILE GGSALES
-* Create data to match requirements.
MEMBERNAME/A40 = DECODE SEQ_NO (1 'Briars, David'
2 'Watts, Michael');
-* Convert comma delimiter to carriage return.
MNAME_OUT/A40 = CTRAN(40, MEMBERNAME, 044, 013 , 'A40');
END
-*
TABLE FILE GGSALES
PRINT SEQ_NO
MEMBERNAME
MNAME_OUT AS 'Member, Name'
REGION
IF RECORDLIMIT LE 2
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
TYPE=REPORT, FONT=ARIAL, SIZE=10, SQUEEZE=ON,$
TYPE=REPORT,LINEBREAK='CR',$
ENDSTYLE
END
Pilot: WebFOCUS 8.2.06 Test: WebFOCUS 8.1.05M Prod: WebFOCUS 8.1.05M Server: Windows Server 2016/Tomcat Standalone Workstation: Windows 10/IE11+Edge Database: Oracle 12c, Netezza, & MS SQL Server 2019 Output: AHTML/XLSX/HTML/PDF/JSCHART Tools: WFDS, Repository Content, BI Portal Designer & ReportCaster