Ver Mensaje Individual
  #7 (permalink)  
Antiguo 02/01/2003, 07:21
GSMDN
 
Fecha de Ingreso: enero-2002
Mensajes: 236
Antigüedad: 23 años, 3 meses
Puntos: 0
nazkatuta me parece que el cabezon soy yo...

Tienes razon con absolutepage y retocando la funcion pa generar los numeros aleatorios me ha funcionado. muchas gracias, os pongo el codigo para que lo podais utilizar, yo lo uso para mostrar x registros al azar:

Código:
<%
set rs=server.createobject("ADODB.Recordset")

rs.open "SELECT * FROM tbl_novedades",conexion, 1, 2

rndMax= CInt(rs.RecordCount)
for r=1 to 4
	Randomize
	rndNumber = Int((rndMax)*rnd+1)
	if rndNumber=0 then rndNumber=rndNumber+1
	rs.Absoluteposition=rndNumber%>
	
	MOSTRAR EL CONTENIDO
	
<%	next
  rs.close
  set rs=nothing%>