Ver Mensaje Individual
  #3  
Antiguo 04-02-2009
Avatar de ContraVeneno
ContraVeneno ContraVeneno is offline
Miembro
 
Registrado: may 2005
Ubicación: Torreón, México
Posts: 4.738
Reputación: 23
ContraVeneno Va por buen camino
Código Delphi [-]
with UnADOQuery do begin
 If active then Close;
 SQL.Clear;
 SQL.Add('Update Cuotas')
 SQL.Add('Set Enero = :Enero');
 SQL.Add('Where Cliente = :Cliente');
 with Paramteres do begin
  ParamByName('Enero').Value := edtCuotaEnero.AsCurrency;
  ParamByName('Cliente').Value := edtIDCliente.Text;
 end; //with paramters
 ExecSQL;
end; //with
__________________

Responder Con Cita