cachedupdate

The offical for ZeosLib 7.3 Report problems, ask for help, post proposals for the new version of Zeoslib 7.3/v8
Quick Info:
-We made two new drivers: odbc(raw and unicode version) and oledb
-GUID domain/field-defined support for FB
-extended error infos of Firebird
-performance ups are still in queue
In future some more feature will arrive, so stay tuned and don't hassitate to help
Post Reply
medhome
Fresh Boarder
Fresh Boarder
Posts: 11
Joined: 18.07.2021, 14:07

cachedupdate

Post by medhome »

Hi all

is there a property, method or other mecanism of tfield to know its value in the cache afterapplyupdate
Regards
Med.
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1956
Joined: 17.01.2011, 14:17

Re: cachedupdate

Post by marsupilami »

Hello Med,

I am not sure, I understand your question correctly. But the value for "after apply update" should simply be the current value that you can access by using Value or one of the AsXXXX-methods?

Best regards,

Jan
medhome
Fresh Boarder
Fresh Boarder
Posts: 11
Joined: 18.07.2021, 14:07

Re: cachedupdate

Post by medhome »

Hi Marsupilami,

In fact, I wanted to know how the deleted records are marked when using cachedupdate and deleted after apply update.Are they into the cache and how to access this one?

Regards
Med
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1956
Joined: 17.01.2011, 14:17

Re: cachedupdate

Post by marsupilami »

Hello Med,

Zeos stores these records in a cache. By changing the ShowRecordTypes property, you can get Zeos to show the deleted records again.

Note: In most cases using CachedUpdates doesn't make sense anymore. Please use the transaction capabilities of your database instead.

Best regards,

Jan
medhome
Fresh Boarder
Fresh Boarder
Posts: 11
Joined: 18.07.2021, 14:07

Re: cachedupdate

Post by medhome »

Hi,
But the Cachedupdate can be useful to reduce the load on the database and improve the responsiveness of the application is'nt it?.
My action is to reproduce this behavior with TMSESQLQUERY. Currently I can cancel added and modified records but not deleted.

Regards
Med
Post Reply