Master/detail

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
mdemir-1

Master/detail

Post by mdemir-1 » Tue 20 Sep 2005 06:48

Hi
I am using Delphi 7.0 Enterprise with myDAC 4.00.1.3 trial.
I cannot make the Master/Detail demo work. i.e. if I enter
a new employee (when DEPTNO=10 in the above grid) I expect
the deptno of the employee filled with 10 automatically (this is what the
manual says too) but this does not happen and it fills
with 0, hence the new employee is not connected to the
master record.

I did not alter the demo in any way !! IS this a bug ?
Thx in advance.

Ikar
Posts: 1693
Joined: Thu 28 Oct 2004 13:56

Post by Ikar » Tue 20 Sep 2005 12:11

To use this functionality you should specify MasterFields and DetailFields

Post Reply