The spreadsheet when printed (landscape) will be more than one page....how else can I keep a header at the top (column titles) and a footer at the bottomof each page (legend) ?Use page breaks. Example:
Place this in the header section:
<STYLE TYPE="text/css">
P.newpage {page-break-before: always}
</STYLE>
Place this where you want the page break to occur:
<P CLASS="newpage">
Then place any header or footer after you create a new page. You could dynamically create the new page...
Is there any way to get the database results page to print and have the column headings on each page...not just the first ?
If you assign the column headings to variables, you can use them anywhere on the page. So, use the pagebreak above > add your header > then add any column headings > now add the rest of your data.
Joe