Ver Mensaje Individual
  #8  
Antiguo 04-07-2012
Avatar de Neftali [Germán.Estévez]
Neftali [Germán.Estévez] Neftali [Germán.Estévez] is offline
[becario]
 
Registrado: jul 2004
Ubicación: Barcelona - Espańa
Posts: 18.293
Reputación: 10
Neftali [Germán.Estévez] Es un diamante en brutoNeftali [Germán.Estévez] Es un diamante en brutoNeftali [Germán.Estévez] Es un diamante en bruto
Intenta capturar el error con un Try..Except.

Código Delphi [-]

  try
    ...
    Query.ParamByName('descripcion').AsString :=  stringGrid1.Cells[3, i];
    Query.ParamByName('unitario').AsString :=  stringGrid1.Cells[4, i];


    Query.ExecSQL;
  except
    on E:Exception do begin
      MessageDlg(Format('Error: %s  Clase: %s',[E.Message, E.ClassName]), mtError, [mbOK], 0);
    end;
  end;

Eso te dará si hay algún error al ejecutar.
Por otro lado puedes ejecutar paso a paso y ver si hace todo el recorrido.
__________________
Germán Estévez => Web/Blog
Guía de estilo, Guía alternativa
Utiliza TAG's en tus mensajes.
Contactar con el Clubdelphi

P.D: Más tiempo dedicado a la pregunta=Mejores respuestas.
Responder Con Cita