Dear Support,
I use Delphi 7 prof. and SDAC 4.x ver. professional.
I see your SDACDEMO.
I have a question about demo Master - Detail under General Demos.
I see 2 checkboxes :
1) SQL Links
2) Simple field link.
I note that if I select first check when I insert a new record in detail, field DEPTNO is empty; while if I select second check when I insert a new record in detail, field DEPTNO set automatically value that is present in DEPTNO of the master table.
If I see code note that source is obviously different.
In case 1) source contains quDetail.DetailFields := '' and quDetail.MasterFields := '';.
In case 2) source contains quDetail.DetailFields := 'DEPTNO'; and quDetail.MasterFields := 'DEPTNO'.
If I create M/D relationship with two tables and if I want automatically set field of foreign key of the detail table I must use property DetailFields and MasterFields of my Dataset.
If I create classic M/D via SQL link without set this two properties Detailfields and MasterFields of the detail table, field that is used for link is not automatically fill.
Is this correct ?
Where can I find more information about M/D with your SDAC components ?
Best regards.
Sergio Bertolotti
Question about Master / Detail with SDAC 4.x
-
- Posts: 54
- Joined: Tue 02 May 2006 12:03
- Location: Italy
-
- Posts: 54
- Joined: Tue 02 May 2006 12:03
- Location: Italy
-
- Posts: 4
- Joined: Mon 07 Apr 2008 12:59
Not found
I didn't find the post "Working with master/detail..." in forum.
Please, put the link here.
Please, put the link here.
-
- Posts: 54
- Joined: Tue 02 May 2006 12:03
- Location: Italy
Dear PreverInfo,
search in http://crlab.com/sdac/download.html under section - Documentation and Demo - at this link you find a docs of components in PDF,CHM,etc,etc,...
After download it search for Master /detail relationship.
Best regards.
Sergio Bertolotti
search in http://crlab.com/sdac/download.html under section - Documentation and Demo - at this link you find a docs of components in PDF,CHM,etc,etc,...
After download it search for Master /detail relationship.
Best regards.
Sergio Bertolotti