copy fields from other dataset to tvirtualtable

Discussion of open issues, suggestions and bugs regarding Virtual Data Access Components for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Posts: 384
Joined: Tue 08 Aug 2006 15:10
Location: Milwaukee WI USA

copy fields from other dataset to tvirtualtable

Post by snorkel » Fri 09 Dec 2011 21:03

Is there a method that can duplicate fields from another dataset?
i.e. something like createfieldsfromdataset?

Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Post by AlexP » Mon 12 Dec 2011 10:41


In the design-time, you can use popup menu of VirtualTable, choose 'Assign DataSet...' in it and specify the needed DataSet. In the run-time, you can use the Assign method in the following way:

Code: Select all


Post Reply