Information générale
Catégorie:
Visual FoxPro Beta
>Hi Fabio,
>
>I was replying in context of the scenario that you have provided. In that scenario, due to BEGIN/END TRANSACTION, VFP caches the record content separately from the file cache. Therefore, for not modified record, WORKAREA.F1 and OLDVAL("F1",WORKAREA) are the same.
>
>In general, VFP does a lot of caching to achieve better performance (content of the file is cached, content of the current record might be cached, old values are cached). It is not a secret that cache can get out of date and data can get out of sync. If the app needs up to date information, it should make sure it has it by locking and/or refreshing data.
>
>Thanks,
>Aleksey.
>
Hi Aleksey,
Thanks for to have answered, but i think that the VFPT can do a better work.
Fabio
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement