Additional
dbCAP
AnyDAC
ThinDAC
NCOCI8
Topic: Master-detail and cahced updates
Master-detail and cahced updates
Posted: 2007/10/11 21:54
 
Delphi 7
Firebird 1.5
Firebird AnyDac drivers
AnyDac version 2.0.3 and 2.0.4

If I use TADQuery in master detail and Cahced Updates = true, Details cached etc. the followiing happens.

1. Insert a master
2. Insert detail
3. Insert another master
4. goto the prev master.

The detail of the master is gone. Is this correct? I am sure that this did not happen in version 2.0.2 (will test it later).
Re:Master-detail and cahced updates
Posted: 2007/10/11 22:37
 
Hello

See demo AnyDAC/DEMO/Comp Layer/TADQuery/MasterDetail for details how to setup master-detail and the detail dataset caches records. Then you can turn on CachedUpdates for master and detail datasets.

Regards,
Dmitry