Hola todos
mi problema es el siguiente estoy trabajando con delphi 7 zeos 6.0 mysql 5.0 cuando trato de modificar un registro con este codigo
Código Delphi
[-]
with dmDatos.qryModifica do begin
Close;
SQL.Clear;
SQl.Add('Update aportaciones Set Recibo = :Recibo, :Trans, :Nombre :Fecha, :Aporte, escrip');
SQL.Add('Where Recibo = '+QuotedStr(sCodigo));
ParamByName('Recibo').Value := txtRecibo.Text;
ParamByName('Trans').Value := sTrans;
ParamByName('Nombre').Value := txtNombre.Text;
ParamByName('Fecha').Value := FormatDateTime('yyyy-mm-dd',DateTimePicker1.Date);
ParamByName('Aporte').Value := sAporte;
ParamByName('Descrip').Value := txtDesc.Text;
ExecSQL;
Close;
end;
end;
me da un error
SQL error You have an error in yoursyntax, check the manual that corresponds to your mysql version for the right syntax to use near "I' 'Meledi felix','2010-04-26','200','Red123' where recibo = '0247" at line 1
este problema yo no e podio con el.
muchas gracia de antemano por su ayuda.