Ver Mensaje Individual
  #8 (permalink)  
Antiguo 25/06/2003, 02:33
haven
 
Fecha de Ingreso: febrero-2002
Ubicación: Navarra
Mensajes: 701
Antigüedad: 24 años, 8 meses
Puntos: 2
Gracias a todos ya está solucionado, he tenido que poner el cursor como 3 ya que en 2 no funcionaba:

Código PHP:
Set rs2 = Server.CreateObject("ADODB.Recordset")

rs2.cursorType = 3


'Initalise the strSQL variable with an SQL statement to query the database
strSQL2 = "SELECT * FROM tblContador order by Fecha desc"

'
Query the database
rs2
.Open strSQL2, strCon

rs2
.Absoluteposition=6 

response
.write "<font color='000000'>ID = "&RS2("ID")&"</font>" 
Un saludo
__________________
asp, php, .net, adaptandose a las necesidades