Ver Mensaje Individual
  #12  
Antiguo 09-06-2006
Rayku Rayku is offline
Miembro
 
Registrado: jun 2006
Posts: 12
Reputación: 0
Rayku Va por buen camino
Código Delphi [-]
cn.BeginTrans;
    cm := TADOCommand.Create(nil);
    cm.Connection := cn;
    cm.CommandText := ' UPDATE TIngresoDetalle SET '+
                      ' Tipo='+ QuotedStr(Tipo)+ ','+
                      ' Cantidad='+ Cantidad+ ','+
                      ' Monto='+ Monto+
                      ' WHERE  FechaLlegada=CDate('+QuotedStr(FechaLlegada)+') AND SerieF='+ QuotedStr(SerieF)+' AND NroFactura='+ QuotedStr(NroFactura)+' AND SerieG='+ QuotedStr(SerieG)+' AND NroGuia='+ QuotedStr(NroGuia)+'AND IDTipo='+ QuotedStr(IDTipo);
    cm.Execute;
    cn.CommitTrans;

espero q esto te sirva

Última edición por vtdeleon fecha: 10-06-2006 a las 00:25:34.
Responder Con Cita