TVirtualTable master detail

Discussion of open issues, suggestions and bugs regarding Virtual Data Access Components for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Posts: 1
Joined: Mon 17 Dec 2012 10:56

TVirtualTable master detail

Post by v.plozner » Mon 17 Dec 2012 11:11


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?


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

Re: TVirtualTable master detail

Post by AlexP » Tue 18 Dec 2012 10:05


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

Post Reply