Page 1 of 1

Can not use Master/Detail with CachedUpdates

Posted: Mon 21 Jun 2010 14:17
by webgerencial
Sometimes I receive this error:

Can not use Master/Detail with CachedUpdates (D:\Projects\Delphi\Dac\Common\Source\DBAccess.pas, line 6378).

I'm using my DAC 5.90 and Delphi 2007

Thanks

Posted: Tue 22 Jun 2010 07:42
by Dimon
When establishing master-detail relationship the CachedUpdates property of detail dataset works properly only when TCustomDADataSet.Options.LocalMasterDetail is set to True. You can find more detailed information about this in the MyDAC help.