Can not use Master/Detail with CachedUpdates

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
webgerencial
Posts: 1
Joined: Mon 21 Jun 2010 14:13

Can not use Master/Detail with CachedUpdates

Post by webgerencial » Mon 21 Jun 2010 14:17

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

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Tue 22 Jun 2010 07:42

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.

Post Reply