how to read not saved data in table using cached update?

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
charbel
Posts: 15
Joined: Fri 02 May 2008 06:42

how to read not saved data in table using cached update?

Post by charbel » Fri 04 Jul 2008 16:27

in a master-detail relationship using the CachedUpdates property of detail dataset with Options.LocalMasterDetail = True, the data in the detail table are not saved to database, there for, a select query wont fetch for those data. i need to read those data, any suggestion?

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Mon 07 Jul 2008 08:18

You should save changes to database (call the ApplyUpdates method) to be able to see them in other datasets.

Post Reply