HAZLE CASO A DAZ. USA EL GETROWS DESPUES DE CONSULTAR SI VIENE O NO CON DATOS EL RECORDSET..AH Y CIERRA TUS OBJETOS Y RECORDSET DESPUES DE USARLOS..
Código:
SQL_ricura = "SELECT * FROM ricuras WHERE id_ricura = " + Replace(CAT, "'", "''")
set oConn_ricura = Server.CreateObject("ADODB.Connection")
oConn_ricura.Open MM_pcte_STRING
set rs_ricura = oConn_ricura.Execute(SQL_ricura)
'Liberamos los objetos ya!!
%>
Para ver el resultado coloco lo siguiente:
<% if rs_ricura.eof and rs_ricura.bof then %>
No hay registros para esta consulta
<% else
ricura = rs_ricura.GetRows
'no se que mas le agregaras
%>
<img src="<%=ricura(large_ricura, 0)%>" border="0">
<%end if %>
rs_ricura.Close
set rs_ricura = nothing
oConn_ricura.Close
set oConn_ricura = nothing