Ver Mensaje Individual
  #4 (permalink)  
Antiguo 24/10/2003, 12:57
Avatar de bakanzipp
bakanzipp
 
Fecha de Ingreso: noviembre-2001
Ubicación: santiago de shilli
Mensajes: 2.554
Antigüedad: 23 años, 5 meses
Puntos: 0
la solucion no es asp, como te dijeron calculas la cantidad de registros que caben en una hoja y haces un break para que salte de pagina, inicializas el contador y pintas el encabezado.

Código PHP:
<%
i=1
while not rs.eof
  
if i=20 then%>
   <
p STYLE="page-break-before: always">&nbsp;</p>
  <
tr><td>titulo1</td><td>titulo2</td><td>titulo2</td></tr>
  <%
i=1
 end 
if
....
....
i=i+1
wend
%>