comando execute

15/07/2005 - 16:54 por denny Torcates | Informe spam
if (operacion = "Agregar") then
strSql="INSERT INTO T_PROVEEDORES
(DESC_PROV,FECH_REGI,PERS_CONT,TELE_PROV,MAIL_PROV,FAX_PRO
V,DIRE_PROV,OBSE_PROV)VALUES
('"&NombreS&"','"&Fecha&"','"&Contacto&"','"&Telefono&"','
"&mail&"','"&Fax&"','"&Direccion&"','" & Observa&"')"
end if

if (operacion = "Modificar") then
strSql= "UPDATE T_USUARIOS SET
APEL_USUA='"& Apellidos &"',NOMB_USUA ='"& Nombres
&"',LOGI_USUA='"&Login &"',PASS_USUA='"& Password
&"',NIVL_USUA='"& Nivel &"' ,FECH_REGI='"& Fecha &"'
WHERE CODI_USUA='"&trim(Codigo)&"'"
end if


conexion.execute (strSql)
conexion.Close
SET conexion = Nothing



me aparece este mensaje
"
No se estableció ningún texto de comando para el objeto
de comando."

que puede ser este error de verdad es urgente
 

Preguntas similares