Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Draw horizontal line in a free form report
Go
New
Search
Notify
Tools
Reply
  
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
 
Reply With QuoteReport 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, 2004Reply With QuoteReport 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
 
Reply With QuoteReport 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.
 
Reply With QuoteReport This Post
<kj>
posted
It works fine in HTML with HR tag. How to do it for PDF?
 
Reply With QuoteReport 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>,
 
Reply With QuoteReport 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
 
Reply With QuoteReport 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, 2004Reply With QuoteReport 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: 5601 | Location: United Kingdom | Registered: April 08, 2004Reply With QuoteReport This Post
  Powered by Social Strata  
 

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-2018 Information Builders, leaders in enterprise business intelligence.