Ver Mensaje Individual
  #3  
Antiguo 23-12-2008
Avatar de Lepe
[Lepe] Lepe is offline
Miembro Premium
 
Registrado: may 2003
Posts: 7.424
Reputación: 31
Lepe Va por buen camino
esto debería ser rápido, milisegundos, a más tardar 1.5 segundos:
Código Delphi [-]
try
  AdoQuery1.Active := true;  
  AdoQuery1.DisableControls;
  while (not AdoQuery1.EOF) do begin
      Memo1.Lines.Add(Trim(AdoQuery1['Nombre']));
      AdoQuery1.Next;
    end;

  finally
    AdoQuery1.EnableControls;
    AdoQuery1.Active:=False;
end;

Si es lento, pon tu SQL y dinos los índices que tienes creados en la tabla, así como clave primaria

Saludos
__________________
Si usted entendió mi comentario, contácteme y gustosamente,
se lo volveré a explicar hasta que no lo entienda, Gracias.
Responder Con Cita