Page 1 of 1

TVirtualTable master detail

Posted: Mon 17 Dec 2012 11:11
by v.plozner
Hello

I'm using Delphi XE2 and the newest TVirtualTable (vtabled16) component and setup a master detail relation ship but it does not work.
Question: is it possible to run master detail relation ships with TVirtualTable?

Thanks
Valerio

Re: TVirtualTable master detail

Posted: Tue 18 Dec 2012 10:05
by AlexP
Hello,

VirtualTable allows set up master-detail relationship between two VirtualTables and between VirtualTable and a real DataSet. For this, in the MasterSource property of the detail VirtualTable, you should specify DataSource set for the master VirtualTable, and specify the correct field names on which the master-detail relationship is built in the MasterFields and DetailFields properties.
If there are problems while creating a master-detail relationship in VirtualTable, please send a small sample demonstrating the problem to alexp*devart*com