Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUG :VFP's Transactions are only corrected with bufferin
Message
From
13/12/2004 19:59:37
 
 
To
13/12/2004 19:34:47
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Miscellaneous
Thread ID:
00968242
Message ID:
00968960
Views:
8
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform