Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Absolute write
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Miscellaneous
Thread ID:
00343972
Message ID:
00344040
Views:
56
>We are updating a file in memory, from a file on the drive.
>We can get the actual new data from the drive into memory when
>we add or delete a record.
>
>We cannot seem to force a guaranteed refresh, however, if we
>do not. No matter what we do, we seem to be reading data
>from memory.

Glenn,

Issuing a lock and unlock will refersh the buffer.
SELECT WhateverTable
SEEK WhateverValue
DO WHILE NOT RLOCK() && You'll need more code here to handle the inability to 
                     && lock
ENDDO
UNLOCK
* The buffer will be fresh now
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform