Ver Mensaje Individual
  #1 (permalink)  
Antiguo 30/04/2007, 12:45
Avatar de cookie
cookie
 
Fecha de Ingreso: agosto-2002
Mensajes: 688
Antigüedad: 22 años, 8 meses
Puntos: 0
NO mostrar el primer registro de un recordset

Q tal !

Tengo duda de que tendria q cambiar en este codigo para mostrar NO mostrar el primer registro de mi juego de registros

es decir

si me va a dar este resultado

___________
id_not_id
___________
10
9
8
7
6
5
4
3
2
1


que me lo de así
___________
id_not_id
___________
9 <---- SIn el ultimo (el 10)
8
7
6
5
4
3
2
1

Código:
<%
Dim rs_historial
Dim rs_historial_numRows

Set rs_historial = Server.CreateObject("ADODB.Recordset")
rs_historial.ActiveConnection = MM_conn_portal_STRING
rs_historial.Source = "SELECT id_not_id FROM dbo.tbl_noticias_diario order by id_not_id DESC"
rs_historial.CursorType = 0
rs_historial.CursorLocation = 2
rs_historial.LockType = 1
rs_historial.Open()

rs_historial_numRows = 0
%>
gracias !
__________________
___________________________

do the evolution ¡
Mineriaenlinea.com