Page 1 of 1

cachedupdate

Posted: 04.11.2024, 18:54
by medhome
Hi all

is there a property, method or other mecanism of tfield to know its value in the cache afterapplyupdate
Regards
Med.

Re: cachedupdate

Posted: 05.11.2024, 08:33
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

Re: cachedupdate

Posted: 06.11.2024, 11:36
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

Re: cachedupdate

Posted: 09.11.2024, 12:44
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

Re: cachedupdate

Posted: 09.11.2024, 15:32
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