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
July 09, 2004, 07:49 PM
reFOCUSing
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.
July 09, 2004, 07:57 PM
<kj>
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
July 09, 2004, 08:03 PM
<WFUser>
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.
July 09, 2004, 08:08 PM
<kj>
It works fine in HTML with HR tag. How to do it for PDF?
July 09, 2004, 08:38 PM
<Vipul>
Hey KJ,
use this in yout HTMLFORM
border-bottom is what you need, in your style for example you can do this: