Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] vertical lines

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] vertical lines
 Login/Join
 
Gold member
posted
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,
rama

This message has been edited. Last edited by: Kerry,


WebFOCUS 762
Windows
To be decided(All formats)
 
Posts: 52 | Registered: November 02, 2009Report This Post
Virtuoso
posted Hide Post
Here's an easy way...


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, 2005Report This Post
Master
posted Hide Post
it's not really a line, but it's a great seperator in a report.

works in all formats...

COMPUTE SEP/A1 = ' '; AS ''

And give it's 'data' the same backgroundcolor as the lines or the background of the 'title'.

looks really nices...

g'luck.


_____________________
WF: 8.0.0.9 > going 8.2.0.5
 
Posts: 668 | Location: Veghel, The Netherlands | Registered: February 16, 2010Report This Post
Master
posted Hide Post
You can try VGRID=ON, here is a sample

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
 
Posts: 542 | Location: Dearborn, MI | Registered: June 03, 2009Report This Post
Master
posted Hide Post
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
 
Posts: 542 | Location: Dearborn, MI | Registered: June 03, 2009Report This Post
Virtuoso
posted Hide Post
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.

- Neftali.



Prod/Dev: WF Server 8008/Win 2008 - WF Client 8008/Win 2008 - Dev. Studio: 8008/Windows 7 - DBMS: Oracle 11g Rel 2
Test: Dev. Studio 8008 /Windows 7 (Local) Output:HTML, EXL2K.
 
Posts: 1533 | Registered: August 12, 2005Report This Post
Gold member
posted Hide Post
Thanks for many suggestions. Great help and wonderful forum support.Let me work on these.
rama


WebFOCUS 762
Windows
To be decided(All formats)
 
Posts: 52 | Registered: November 02, 2009Report This Post
Virtuoso
posted Hide Post
Why not just use the LINE syntax in the stylesheet? That's exactly what it is for.

TYPE=REPORT, OBJECT=LINE, POSITION=(x y), DIMENSION=(x y), BORDER=1,$

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, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] vertical lines

Copyright © 1996-2020 Information Builders