Page 1 of 1

LocalMasterDetail with no Master + RefreshQuick = AV

Posted: Thu 16 Dec 2010 03:27
by Justmade
If a Dataset is set to LocalMasterDetail and has no Master Sources, it cause a Access Violation when Refresh Quick.

I traced and see that it happen in
DBAccess.TCustomDADataSet.SetMasterParams Line 7309
Assert(DataSource.DataSet is TCustomDADataSet);

The DataSource is nil at that moment that caused the AV.

Posted: Thu 16 Dec 2010 12:43
by AndreyZ
Hello,

Thank you for the information. We have reproduced this problem and fixed it. This fix will be included in the next MyDAC build.