Ver Mensaje Individual
  #5  
Antiguo 16-10-2008
Avatar de RebeccaGL
RebeccaGL RebeccaGL is offline
Miembro
 
Registrado: ene 2008
Posts: 199
Reputación: 17
RebeccaGL Va por buen camino
Te recomiendo que uses Table1.Append
Pone el registro al final.

Código Delphi [-]
 
if not (Table1.IsEmpty) then
  Table1.Append
 
Table1.Edit
Table1.FieldByName('Dato').AsFloat := 0.00;
Table1.Post
 
O tambien
 
if not (Table1.IsEmpty) then
  Table1.InsertRecord([Datos])
else
begin
  Table1.Edit  
  Table1.FieldByName('Dato').AsFloat := 0.00;
  Table1.Post
end;
Responder Con Cita