Ver Mensaje Individual
  #4 (permalink)  
Antiguo 28/10/2005, 12:37
Avatar de Dorita
Dorita
 
Fecha de Ingreso: junio-2005
Ubicación: Entre la silla y el escritorio
Mensajes: 97
Antigüedad: 19 años, 10 meses
Puntos: 0
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 SQLGrabaConex


accesoGrabaciones 
Request.QueryString("accesoGrabaciones")                        
        
        If 
accesoGrabaciones "1" Or accesoGrabaciones "" Then 
            accesoGrabaciones 
"1"
        
End If
    
        If 
Not (RS.EOFThen ' 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.pagesizepara 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.-
__________________

<nick>Dorita</nick>...si lo sé, soy una ñoña ;)