copy fields from other dataset to tvirtualtable

copy fields from other dataset to tvirtualtable

Postby snorkel » Fri 09 Dec 2011 21:03

Is there a method that can duplicate fields from another dataset?
i.e. something like createfieldsfromdataset?
snorkel
 
Posts: 381
Joined: Tue 08 Aug 2006 15:10
Location: Milwaukee WI USA

Postby AlexP » Mon 12 Dec 2011 10:41

Hello,

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
VirtualTable1.Assign(SourceDataSet);
AlexP
Devart Team
 
Posts: 5525
Joined: Tue 10 Aug 2010 11:35


Return to VirtualDAC