Focal Point
Column Headings

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/3231038331

February 11, 2005, 07:41 PM
bchinnap
Column Headings
Hi,
I have many HTML reports that scrolls way down and the users lose track of which column is which. I was wondering is it possible to keep the Column Headings fixed and scroll just the data ?

Thanks for any suggestions to accomplish this.
February 11, 2005, 08:39 PM
reFOCUSing
This is not really an answer to your question but if you add the following line to your report you can change how often the column titles are repeated.

SET LINES = 50

This will repeat the column titles after every 50 lines of data.
February 12, 2005, 04:22 PM
susannah
bc, you're not alone in wishing for an easy way to do this. In addition to Curtis's solution, you can experiment with SET WEBVIEWER = ON which displays your report a page at a time.
The solution i use (which is also mentioned on this board by other folks) involves a bit more coding..my output is a frameset where the top frame is the header section, non-scrolling, and the bottom frame is the datatable with scrolling enabled.
February 14, 2005, 01:23 PM
Carol Dobson
This is something I picked up from an earlier post in Focal Point and may help. Try this against the CAR file.
NOTE:
I had to take the less than and greater than signs off of the code below to send this message.

TABLE FILE CAR
PRINT RCOST AS ' ' BY COUNTRY AS ' ' BY CAR AS ' '
ON TABLE HOLD AS GARR FORMAT HTMTABLE
ON TABLE SET PAGE-NUM OFF
END
-RUN
-HTMLFORM BEGIN
HTML
HEAD
STYLE
DIV.aside {position:absolute; top: 65px; left: 10px; height: 200px; width: 500
px; overflow: scroll}
/STYLE
/HEAD
body
<h1>Country Car Cost</h1>
<DIV class=aside>
!IBI.FIL.garr;
</DIV>
/body
/HTML
-HTMLFORM END
February 18, 2005, 02:46 PM
<Lee Roper>
<<This is not really an answer to your question but if you add the following line to your report you can change how often the column titles are repeated.

SET LINES = 50

This will repeat the column titles after every 50 lines of data. >>

I have the opposite problem: I need to surpress the repeating column headings. If I put in SET LINES = 0 will it not repeat the column headings?
February 18, 2005, 02:54 PM
<Pietro De Santis>
SET LINES=999999

Sets the maximum number of lines of printed output that appear on a page, from the
heading to the footing. Sets the maximum number of lines that appear on a logical
page, from the heading at the top to the footing on the bottom. The value of LINES
can range between 1 and 999999; specify 999999 for continuous forms. WebFOCUS
will generate HEADING and FOOTING text after each group of lines as defined with
the SET parameter.