Hola mariano_donati, q tal, sabes pensé q el problema era el tipo de paginación q estaba utilizando, asi q adapté uno q encontré en la web, lo tengo casi textual, pero igual sigue sucediendo lo mismo.- esto es lo q tengo:
accesoGrabaciones.asp
Código PHP:
Set Conex = Server.CreateObject("ADODB.Connection")
Set RS = Server.CreateObject("ADODB.Recordset")
RS.PageSize = 10
RS.CursorLocation = 3
RS.CursorType = 3
Conex.Open "DRIVER={SQL Server}; SERVER=(LOCAL); DATABASE=predator; Uid=sa; PWD=;"
SQLGraba = "SELECT ide_gra, ide_eje, fec_hor_ini_gra, dur_gra, ip_gra, est_gra, lin_gra FROM gras WHERE ide_eje IN (SELECT ide_eje FROM ejes WHERE ide_ser ="&servicio&");"
RS.Open SQLGraba, Conex
accesoGrabaciones = Request.QueryString("accesoGrabaciones")
If accesoGrabaciones < "1" Or accesoGrabaciones = "" Then
accesoGrabaciones = "1"
End If
If Not (RS.EOF) Then ' indicamos que página debe mostrar
RS.AbsolutePage = accesoGrabaciones
End If
For i = 1 to 10 ' hacemos un loop con la cantidad de registros especificados en rs.pagesize, para q solo muestre esa cantidad
If Not RS.EOF Then verificamos cada vez que no sea fin de archivo
Response.Write(vbTab & "<tr>")
Response.Write("<td height=""93%""><span class=""estiloTablas"">"&RS("ide_gra")&"</span></td>"&vbcrlf)
RS.MoveNext
End If
Next %>
<%
If accesoGrabaciones = "1" Then %>
<td width="25%" align="center"> << </td>
<td width="25%" align="center"> < </td>
<%Else%>
<td width="25%" align="center"><a href="accesoGrabaciones.asp?accesoGrabaciones=0"> << </a></td>
<td width="25%" align="center"><a href="accesoGrabaciones.asp?accesoGrabaciones=<%=accesoGrabaciones-1%>"> < </a></td>
<% End If %>
<!-- Navegación hacia páginas posteriores-->
<% If int(accesoGrabaciones) => RS.pageCount Then %>
<td width="25%" align="center"> > </td>
<td width="25%" align="center"> >> </td>
<% Else%>
<td width="25%" align="center"><a href="accesoGrabaciones.asp?accesoGrabaciones=<%=accesoGrabaciones + 1 %>"> > </a></td>
<td width="25%" align="center"><a href="accesoGrabaciones.asp?accesoGrabaciones=<%=RS.PageCount%>"> < </a></td>
<% End If %>
ya no se que hacer...
help please a todos!!
salu2.-