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.
Make a field that contains the delimiter character and you can use it to format your output however you want. Pretty basic stuff.
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, 2007
I haven't tested this, but I think what you are wanting is: DEFINE FILE CAR BAR/A1='|'; END TABLE FILE CAR PRINT MODEL BAR SEATS BAR DEALER_COST HEADING "-------------------------------" END
Pat WF 7.6.8, AIX, AS400, NT AS400 FOCUS, AIX FOCUS, Oracle, DB2, JDE, Lotus Notes
Posts: 755 | Location: TX | Registered: September 25, 2007
Try this to achieve the column heading 'look' you've shown. I'll use Alpha columns, but integer, etc. can be used, but would require experimentation to get the correct column widths.
DEFINE FILE CAR BAR/A1='|'; END
TABLE FILE CAR PRINT MODEL/A4 AS '----' BAR AS '-' COUNTRY/A4 AS '----' BAR AS '-' WEIGHT/A4 AS '----' ON TABLE ... FORMAT WP END
Although you might find this kind of column heading more informative: PRINT BAR AS '=,|,-' MODEL/A6 AS '======,Model,-----' BAR AS '=,|,-' etc.
WIN/2K running WF 7.6.4 Development via DevStudio 7.6.4, MRE, TextEditor. Data is Oracle, MS-SQL.
Posts: 154 | Location: NY | Registered: October 27, 2005