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     Draw horizontal line in a free form report

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Draw horizontal line in a free form report
 Login/Join
 
<kj>
posted
How to draw a horizontal line in a free form report?
After each group of fields, I need to draw a line to differentiate the groups.

Any suggessions would be greately appreciated.


Thanks,
kj
 
Report This Post
Guru
posted Hide Post
Try the following:

TABLE FILE CAR
PRINT
COUNTRY
MODEL
BY CAR
ON CAR UNDER-LINE
ON TABLE SET ONLINE-FMT HTML
ON TABLE SET STYLE *
TYPE=REPORT,GRID=OFF,$
ENDSTYLE
END
-RUN

The line 'ON CAR UNDER-LINE' is what puts the line on the report.
Hope this helps.
 
Posts: 406 | Location: Canada | Registered: May 31, 2004Report This Post
<kj>
posted
The kind of out put i need is like this.

SET STYLE = OFF
SET STYLEMODE=FIXED
TABLE FILE CAR
HEADING
"<25>Country:"<25>Model:"-------------------------------------------------------------------"
"<50>Sales: PRINT COUNTRY NOPRINT
ON TABLE SET ONLINE-FMT PDF
ON TABLE SET STYLE *
TYPE=REPORT,GRID=OFF,$
ENDSTYLE
END

Instead of dashed line I would like to have a horizontal line some thing like
in HTML.

Thanks,
kj
 
Report This Post
<WFUser>
posted
DEFINE FILE filename
HRLINE/A10 = '
';
END
TABLE FILE filename
PRINT ...
BY ...
ON field SUBFOOT
""
END

Of course this will only work for HTML and you could add of attributes such as height, width and color.
 
Report This Post
<kj>
posted
It works fine in HTML with HR tag. How to do it for PDF?
 
Report This Post
<Vipul>
posted
Hey KJ,

use this in yout HTMLFORM




border-bottom is what you need, in your style for example you can do this:

TYPE=HEADING, LINE=1, SIZE=9, OBJECT=FIELD, CLASS=border, $

where in CLASS for your case it will be CLASS=border-bottom

Vipul

This message has been edited. Last edited by: <Mabel>,
 
Report This Post
<kj>
posted
Thank you all for your quick response.
But I need it in PDF output.
Any idea how to get it in PDF?

thanks,
kj
 
Report This Post
Silver Member
posted Hide Post
One option if you dont want to use Underline (__) is to create a gif then position and size it in your header.

TYPE=HEADING, IMAGE=(LINENAM), POSITION=(-1.0300 +1.1500000), SIZE=(30.65000 .50000), $

Tad Schwendiman, Workers Comp in Utah, presented that as an option during an iBUG meeting and Summit '03 last year.

Jon
 
Posts: 39 | Registered: January 26, 2004Report This Post
Expert
posted Hide Post
KJ,

It may be because of the number of responses in quick succession but CurtisA had the best(?) method (IMHO) and that was to use -

ON byvalue UNDER-LINE

Where byvalue is your sort field.

Edited to add -

Yes, this does work in PDF
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report 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     Draw horizontal line in a free form report

Copyright © 1996-2020 Information Builders