ASP - DUDA EN MI CÓDIGO...

 
Vista:

DUDA EN MI CÓDIGO...

Publicado por alberto cortes (8 intervenciones) el 15/09/2006 02:23:19
HOLA AMIGOS QUISIERA CHECARAN ESTE TROZO DE CÓDIGO

strsql="update inf_contable set clave_area='"&clamod&"',año='"&fecha&"',pep='"&pepmod&"' where pep='"&pep&"'"

set con=Server.CreateObject("ADODB.Connection")

con = "dsn=compras"

set rs=Server.CreateObject("ADODB.Recordset")

rs.open strsql,con

'con.close

set rs=nothing

set con=nothing

MI PREGUNTA ES: POR QUÉ CUANDO QUIERO EL OBJETO CON ME DICE QUE REQUIERO UN OBJETO CON ES DECIR ME MARCA ERROR. PERO AL QUITARSELO ME REALIZA LA OPERACION UPDATE.
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder