Segundo archivo en donde guardo.
Código (asp) [Seleccionar]
<%
idpre=Request.QueryString("idp")
idres=Request.QueryString("nul")
if idres=100 then
respuesta=null
else
respuesta=idres
end if
set cnx=Server.CreateObject("ADODB.Connection")
set myrsa=CreateObject("ADODB.Recordset")
cnx.ConnectionString=Application("MyCon")
cnx.open
asql="SELECT * from resultados"
myrsa.ActiveConnection=cnx
myrsa.source=asql
myrsa.open, ,0,2
if myrsa.eof and myrsa.bof then
id=1
else
myrsa.movelast
id=myrsa("id_resultados")+1
end if
myrsa.addnew
myrsa("id_resultados")=id
myrsa("id_pregunta")=idpre
myrsa("id_respuesta")=respuesta
myrsa.update
%>