Hi all,
I need to create master/detail of these tables:
It has a master table "SIGEV_CARGA" and its detail "SIGEV_CARGA_DET", and at the same time the detail "SIGEV_CARGA_DET" is master of "SIGEV_BOLETA_PRODUCTOR" and the last one has a detail table "SIGEV_BOLETA_PRODUCTOR_DET"..
Is it possible to configure that with the property mastersource of TUniQuery?
How can I capture the ID_SIGEV_BOLETA_PRODUCTOR to save in its master SIGEV_CARGA_DET?
Create master/detail over another master/detail
-
- Posts: 4
- Joined: Wed 31 Jan 2018 19:12
Re: Create master/detail over another master/detail
If you want to bind a detail dataset with several master datasets, then unfortunately there is no standard solution. TDataSet can be bound with only one master dataset using the TDataSet.MasterSource property, so it is not possible to bind a detail dataset with two master datasets. This functionality is not implemented in TDataSet, unfortunately we cannot influence this behavior.
-
- Posts: 4
- Joined: Wed 31 Jan 2018 19:12
Re: Create master/detail over another master/detail
Ok, thanks @Stellar.. I'll do it separately.