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     how to draw a horizontal or vertical line

Read-Only Read-Only Topic
Go
Search
Notify
Tools
how to draw a horizontal or vertical line
 Login/Join
 
Gold member
posted
Hi
Can any one solve give any tips on the following problem.
I wanted to draw some horizontal or vertical lines in the report as follows.

Titlea titleb | titlec titled
1 2 | 3 4
2 3 | 4 5
-------------------------------
3 5 | 7 9

Grid=on / off causes on / off thegrids for every column.
And the column and row will be changed dynamically according to the available data.
Please help me......
sample code is appreciated....
 
Posts: 71 | Registered: November 20, 2003Report This Post
Platinum Member
posted Hide Post
The following example, combining FOCUS STYLE and CSS styles, works fine for me; drawing a border for a specific data column and top border for tabfooting.


TABLE FILE CAR
SUM
SALES
RCOST
DCOST
BY COUNTRY
ON TABLE SUBFOOT
"TOTAL:&|nbsp;&|nbsp; ON TABLE SET PAGE NOPAGE
ON TABLE HOLD FORMAT HTMTABLE
ON TABLE SET STYLE *
TYPE=REPORT, GRID=OFF, $
TYPE=DATA, COLUMN=P2, CLASS=rborder, $
TYPE=TITLE, COLUMN=P2, CLASS=rborder, $
TYPE=TABFOOTING, HEADALIGN=BODY, JUSTIFY=RIGHT, CLASS=tborder, $
TYPE=TABFOOTING, ITEM=1, JUSTIFY=CENTER, CLASS=tborder, $
TYPE=TABFOOTING, ITEM=2, CLASS=bborder, $
END
-RUN

-HTMLFORM BEGIN

!IBI.FIL.HOLD;
-HTMLFORM END
I hope this helps.
Regards,
Mikel

This message has been edited. Last edited by: <Maryellen>,


WebFOCUS 8.1.05, 8.2.01
 
Posts: 173 | Location: Madrid, Spain | Registered: May 09, 2003Report This Post
Gold member
posted Hide Post
HI MIKE
AMTRYING TO OUTPUT MY EPORT INTO PDF FORMAT.HOW CAN WE DO THAT THEN.
MARGIN=ON,OFF IS WORKING FINE FOR THE DATA HEADING AND FOOTING.bUT MY NEED IS ONLY A VERY FEW LINES IN THE HEADING PART NEEDS TO BE PUT IN TO A RECTANGLE BOX.
SO WE NEED TO DRAW THE HORIZONTA AND VERTICAL LINE.

ANY IDEA... WELCOME
 
Posts: 71 | Registered: November 20, 2003Report This Post
Gold member
posted Hide Post
Hi,

I did not understand what exactly you need in the report.

If you want to add a line just after every total then you can do so by using
ON TABLE SUBTOTAL UNDERLINE command. This will give you the line until the end of the field.
If you need it for heading then,

TABLE FILE XYZ
PRINT ..
HEADING CENTER
"<16>*************"
"<16>* REPORT TITLE *"
"<16>*************"

I guess this would work.
 
Posts: 76 | Registered: October 28, 2003Report This Post
Gold member
posted Hide Post
hi,
my requirement is something as follows...

Heading Line 1
______________________________________________
| Heading Line2A Heading Line2B |
|_____________________________________________|
|Title 1 Title2 Title3 Title4 |
_____________________________________________|

How to draw the vertical lines to make the Heading and title combined together as a rectangle box.
 
Posts: 71 | Registered: November 20, 2003Report This Post
Platinum Member
posted Hide Post
 
Posts: 173 | Location: Madrid, Spain | Registered: May 09, 2003Report This Post
Gold member
posted Hide Post
Hi,
There is some default space(1line or 2 line) between the Heading and the Title part.I want to remove those spaces.
I tried with
type=heading,bottomgap=0,$
type=title,topgap=0,$
But still unable to eliminate those spaces.

Actually I want to elongate the grid of TITLE to few lines of the HEADING.Can i do that....

My diagram in the last posting explains the same....
 
Posts: 71 | Registered: November 20, 2003Report This Post
Member
posted Hide Post
Try this to remove the spaces: ON TABLE SET PAGE NOLEAD
 
Posts: 26 | Location: Frederick Maryland | Registered: October 07, 2005Report 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     how to draw a horizontal or vertical line

Copyright © 1996-2020 Information Builders