Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BUG :VFP's Transactions are only corrected with bufferin
Message
De
13/12/2004 19:59:37
 
 
À
13/12/2004 19:34:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro Beta
Divers
Thread ID:
00968242
Message ID:
00968960
Vues:
7
Hi Fabio,

VFP does not read individual fields from disk. The minimum block it reads is a record, but, usually, it reads several records at once and puts them into file cache. The read operation occurs when VFP navigates from one record to another and not when field values are queried. You have to reread the record to get its most recent state.

Thanks,
Aleksey.


>Aleksey, you can explain to me this:
>
>SET REFRESH TO 0,-1
>
>
>On help i read:
>
>nSeconds2 = -1
>Always read data from disk.
>
>then this seems the solution:
>apparently this SET REFRESH makes to ignore the cache to VFP.
>
>Why have I ( with record buffering) to do a:
>
>go recno()
>
>for to force VFP to do a refresh cycle ?
>
>If VFP read from the disk, it have to read the field value from the disk, or no ?
>
>Thanks
>Fabio
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform