Ver Mensaje Individual
  #15  
Antiguo 06-07-2010
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.319
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
¡Qué grande Caro! (me has leído la mente)
Justamente lo que te ha comentado.

Si además añades esto al código:

Código Delphi [-]
var
 sl :TStringList;
begin
 sl := TStringList.Create;
 Try
  if FileExist('c:\Archivo.txt') then begin
    sl.LoadFromFile('c:\Archivo.txt');
  end;
  sl.Add(Query.SQL.Text);
  sl.SaveToFile('c:\Archivo.txt');
 Finally
  sl.Free;
 end;
Tendrás un fichero que va guardando historial de todas las consultas que ejecutas.
__________________
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