Busco por por un campo y luego filtro la tabla.
luego selecciono el campo para cambiar dato error por dato bueno,
continua con el parrafo siguiente:
Código Delphi
[-]
Table1.First;
while not Table1.Eof do begin
Table1.Edit;
if buscafecha='no'then
begin if Table1.FieldByName(ORO).asstring=PLATA then Table1.FieldByName(ORO).Value:=PLATINO; end else begin / con fechas
if Table1.FieldByName(ORO).asdatetime=strtodate(PLATA) then
Table1.FieldByName(ORO).Value:=PLATINO;
end;
Table1.Post;
if laton<>oro then Table1.next;
end;
Table1.Refresh;
end;
Ahora continua la siguente tabla repitiendo el proceso, y va ok.
pero si la tabla no existe el campo de busqueda 'laton' da Error.
Creo que no me explique bien anteriormente.Gracias por la respuesta.Kia
