Ver Mensaje Individual
  #4  
Antiguo 18-12-2003
Avatar de Lepe
[Lepe] Lepe is offline
Miembro Premium
 
Registrado: may 2003
Posts: 7.424
Reputación: 31
Lepe Va por buen camino
Código:
TTAble.EmptyTable
y en cuanto a tu codigo:
Código:
While not TbTabla.Eof Do BEgin
TbTabla.Delete;

end;
Lo que sobra es el Next, ya que al borrar un registro, el cursor se queda en el registro anterior de la tabla, por tanto, da igual si está posicionado al principio, al final o en medio.


Saludos
Responder Con Cita