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.
Hi How do i draw vertical lines between columns.I am using DB2-developer studio 7.6.4 -report painter- for both HTML and PDF reports.Do i need to write HTML code or Focus code.I searched forum, not getting any fruitful result. Thanks for the help, ramaThis message has been edited. Last edited by: Kerry,
DEFINE FILE CAR LINE/A1 = '|'; END TABLE FILE CAR PRINT CAR LINE AS ' ' SEATS BY COUNTRY ON TABLE PCHOLD FORMAT PDF END
Here's another way
TABLE FILE CAR PRINT COUNTRY CAR MODEL ON TABLE SET STYLE * TYPE=DATA ,COLUMN=N1 ,BORDER-LEFT=OFF ,$ TYPE=DATA ,COLUMN=N2 ,BORDER-LEFT=ON ,$ TYPE=DATA ,COLUMN=N3 ,BORDER-LEFT=ON ,$ ENDSTYLE ON TABLE PCHOLD FORMAT PDF END
In Focus since 1993. WebFOCUS 7.7.03 Win 2003
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005
TABLE FILE CAR PRINT COUNTRY CAR MODEL ON TABLE SET STYLE * TYPE=DATA ,COLUMN=N1 ,GRID=OFF ,$ TYPE=DATA ,COLUMN=N2 ,VGRID=ON ,$ ENDSTYLE ON TABLE PCHOLD FORMAT PDF END
Instead of HTML format use DHTML format to make use of the PDF styling.
TABLE FILE CAR
PRINT COUNTRY CAR MODEL
ON TABLE SET STYLE *
TYPE=REPORT, GRID=OFF, $
TYPE=DATA ,COLUMN=N1 ,GRID=OFF ,$
TYPE=DATA ,COLUMN=N2 ,VGRID=ON ,$
ENDSTYLE
ON TABLE PCHOLD FORMAT DHTML
END
Prarie's second choice is my favourite one (using BORDER in style sheet).
It not only gives you more control over which columns should or shouldn't have the separating border but also allows you to adjust its style and width as well.
Best of all, it works "fine" for both PDF and HTML although with some limitations; you cannot have a vertical border between 2 columns in a SUBHEAD or SUBFOOT for example (at least not in PDF) but that may be also a limitation with any of the other approaches that have been provided.
Also available are BOX, STRING, and IMAGE. If you use hold format DHTML or PDF, the same syntax will work for both.
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