
14/05/2004, 06:48
|
| | Fecha de Ingreso: diciembre-2003
Mensajes: 4
Antigüedad: 21 años, 5 meses Puntos: 0 | |
Como dije, este es el código en cuestión:
<!--#include file="conexion_a_bbdd.asp"-->
<%
function ejecutar(ByRef query)
On error Resume next
ejecutar = conex.execute(query)
if err <> 0 then
err = 0
response.Redirect("url")
end if
end function
Sql = "Select * from pepes"
Set lolos = ejecutar(Sql)
if not lolos.eof and not lolos.bof then '<<-------- aquí peta
response.Write(pepes("nombre"))
end if
%>
Espero que tenga solución y alguien pueda dármela.
Muchas gracias |