Clipper/FiveWin - error al guardar en SQL

 
Vista:

error al guardar en SQL

Publicado por karryllo (3 intervenciones) el 22/05/2005 07:16:55
dice que hay un error en un "+"

method guardar() class tpaciente
local csql
csql := "Insert Into paci(nombre,fecha_ingreso,edad,sexo,domicilio,localidad"+;
"',municipio,interes_epidemio,tipo_urge,dx_ingreso) values('"+::nombre+;
"','"+::fecha_ingreso+ "','"+::edad+ "','"+::sexo+ "','"+::domicilio+ "','"+::localidad+ "','"+::municipio+;
"','"+::interes_epidemio+"','"+::tipo_urge+"','"+::dx_ingreso+ "')"

if ocon:odbc:execute(csql,"ERROR") != sql_success
ocon:odbc:rollback()
else
ocon:odbc:dbcommit()
msginfo("registro gardado","mensaje")
end
return

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