TvirtualTable260 savetofile question

Discussion of open issues, suggestions and bugs regarding Virtual Data Access Components for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
dpap
Posts: 1
Joined: Thu 10 Oct 2019 17:18

TvirtualTable260 savetofile question

Post by dpap » Thu 10 Oct 2019 17:37

I use virtualtable to manage some data and save them to a file. Saving/loading file works ok except in one case.
If i delete a field from the table and then save it, when i load it again sows the deleted field (in a DBgrid) without the values.
But i don't want the deleted field at all!
Here is a code snipet i use
// table.Fields[j].free;
table.Fields[j].DisposeOf;
.....
table.SaveToFile(filename);

What's wrong, please ?

Post Reply