My code below gives me an HTML report with the grid lines on each line of the data, but surrounding the whole header section. How do I turn off the gridlines around the perimeter of the header, but keep them on the data records?
DEFINE FILE CLRBASELINE
-SET &HEAD1 = '"'|'Header 1|'"';
-SET &HEAD2 = '"'|'Header 2'|'"';
-SET &HEAD3 = '"'|'Header 3'|'"';
-SET &HEAD3B = '"'|'Header 3B'|'"';
-SET &HEAD4 = '"'|'Header 4'|'"';
IMG/A255 = '[IMG]http://www.informationbuilders.com/images/bulletin.jpg[/IMG]';
END
TABLE FILE CLRBASELINE
HEADING
"<IMG "
""
&HEAD1.EVAL
""
&HEAD2.EVAL
""
&HEAD3.EVAL
&HEAD3B.EVAL
""
&HEAD4.EVAL
PRINT
CLR1 AS 'Column'
CLR2 AS 'Description'
ON TABLE SET PAGE-NUM OFF
ON TABLE SET STYLE *
TYPE=REPORT, LINE=5, COLOR=RED, STYLE=BOLD, $
TYPE=HEADING, LINE=10, COLOR=BLACK, STYLE=BOLD, $
TYPE=HEADING, GRID=OFF, $
TYPE=DATA, GRID=ON, $
TYPE=DATA, LINE=1, COLOR=BLACK, STYLE=BOLD, $
ENDSTYLE
ON TABLE SET HTMLCSS ON
ON TABLE PCHOLD FORMAT HTML
END
-EXIT
This message has been edited. Last edited by: ColdWhiteMilk,
Production - 7.6.4 Sandbox - 7.6.4
March 17, 2010, 03:46 PM
njsden
Would it work for you if you used BORDER instead of GRID? It would give you much more control particularly if you're only targeting HTML.
I figured out a solution that works for my requirements.
I've changed this into two compound HTML reports. The first is the header information from above, with the gridlines turned off. the second is the report data, with the gridlines turned on.