What do you mean by pages?? Pages in print??
The code below prints all records on one "browser-page" so I assume you do
mean print.
I think that'll be difficult, though, since you don't know how somebody's
system is set up for printing, so you never know where a pagebreak / new
heading should appear.
Maybe the different print style-sheet of IE can accomplish this, but I am
not sure.
Imar
At 10:29 AM 1/18/2001 -0500, you wrote:
>How do you make the headings appear on subsequent pages?
>
>Many times when I am doing pages I have more than one (1) page and I would
>like for ALL OF MY HEADINGS TO APPEAR ON ALL OF THE PAGES.
>
>An example is the following code (where my output was 3 pages):
>
><%@ Language=VBScript %>
><html>
>
><head>
><title>Test Schema</title>
></head>
>
><body>
>
><h2>Chapter 06 - Connections </h2>
><h3>Try It Out #7 - Schema LIST TABLE AND COLUMN NAMES</h3>
>
><!--#include file="ADOvbs.inc"-->
>
><%
>dim oConn
>dim oRS
>set oCOnn=server.CreateObject("adodb.connection")
>oConn.Open "DSN=sailors2"
>
>set oRS=oConn.OpenSchema(adSchemaColumns)
>Response.write "Columns from Sailors2" & "<BR><BR>"
>Response.Write "<table border=1>"
>Response.Write "<TH>Table Source</TH><TH>Column Name</TH><TH>Max Width
>(text fields)"
>
>while not oRS.EOF
> Response.Write "<TR><TD>" & oRS("Table_Name") & " </TD>"
> Response.Write "<TD>" & oRS("Column_Name") & " </TD>"
> Response.Write "<TD>" & ORS("Character_Maximum_Length") &
> " </TD></TR>"
> oRS.movenext
>Wend
>
>Response.Write "</table>"
>
>set oRS =nothing
>set oConn = Nothing
>%>
></BODY>
></HTML>