making changes permanent on database under LocalUpdate=true

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Veli
Posts: 4
Joined: Thu 19 Oct 2006 05:51

making changes permanent on database under LocalUpdate=true

Post by Veli » Wed 06 Jun 2007 08:18

Hi,
I am setting table property LocalUpdate=true to keep changes locally in memory to save processing time.But later I want those changes to be permanent on the database table.How can I do them permanent?

Thanks and regards,

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

Post by Antaeus » Wed 06 Jun 2007 11:17

It is not possible with this option. You should use CachedUpdates mode instead. Please take a look at the CahedUpdatas demo that is a part of MyDAC general demo. This demo demonstrates how to work in CahedUpdatas mode.

You can find MyDAC general demo in the MyDAC_InstDir\Demos\MyDAC demo directory.
MyDAC_InstDir is the MyDAC installation directory on your computer.

Post Reply