CodeGear Developer Network

CodeGear Delphi Partner DVD

Delphi

Freeware

VirtualTable component home page

Professional,Enterprise

VirtualTable component (Snippet ID 24489)


Core Lab

TVirtualTable component is TDataSet descendant. It represents an in-memory data
storage that does not have linked data files.
To add fields to virtual table call AddField method. Immediately after creating
virtual table it will be empty. You then define new fields or load existing
table files so that virtual table object becomes initialized and ready to be
opened.
When you close virtual table it will discard its record set. To keep data you
entered at design time for later use you may wish to include voStored option in
Options property. At run time you will need to call SaveToFile method
explicitly to store modifications to the file that later may be retrieved back
into the virtual table by calling LoadFromFile method.

Install VirtualTable component

VirtualTable component home page