Ver Mensaje Individual
  #13  
Antiguo 04-07-2014
maxi915 maxi915 is offline
Miembro
NULL
 
Registrado: jul 2011
Posts: 63
Reputación: 13
maxi915 Va por buen camino
tengo una duda mas con el update y tipo fecha, necesito actualizar esto:
cambiar fechaInscripcion, por la variable fecha.

Código Delphi [-]
procedure actualizarFechaPago(Queryclientes:TADOQuery; id_cliente:integer; fecha:string);
Begin
   with Queryclientes do
    begin
     Close;
     sql.clear;
     sql.Add('update Clientes set FechaInscripcion ='+(fecha)+' where id_cliente='+IntToStr(id_cliente));
     ExecSQL;
    end;
end;

Responder Con Cita