eatoy intentando actualizar un registro
con este codigo
Código PHP:
dim rs1
dim strconn
dim strsql
strsql = ""
'set connection string to local variable-I use a DSN-less connection
'build the sql statement based on the input from the form
strSQL = "UPDATE promociones SET descripcion ='"&descripcion&"', img_promocion='"&img_promocion&"', ubicacion='"&ubicacion&"', unbicacion_x = '"&unbicacion_x&"', ubicacion_y ='"&ubicacion_y&"', planos ='"&planos&"', memonria_calidad = '"&memonria_calidad&"', seguimiento_obra='"&seguimiento_obra&"', fachadas='"&fachadas&"', template='"&template&"' HERE id="&id&""
'Set connection object
'Use the execute method of the connection object the insert the record
MM_habitat_STRING.execute(strSQL)
response.write "se ha modificado correctemente<br /><br />"
response.Redirect("promo_admin.asp")
MM_habitat_STRING.close
set MM_habitat_STRING = nothing
pero me da el error
Tipo de error:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Microsoft][Controlador ODBC Microsoft Access] Error de sintaxis (falta operador) en la expresión de consulta ''a' HERE id=22'.
/habitat/admin/promo_edit_proces.asp, línea 77
a que puede deverse?
gracias de antemano