Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refreshing a field value
Message
From
07/10/2002 07:38:35
 
 
To
07/10/2002 06:20:34
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00708296
Message ID:
00708308
Views:
8
Hi!

Record locking usually refreshes internal VFP buffer values for locked record fields. There is no refreshing for a single field, only on the level of a single record.

You can though read a DBF file on the low level at offset where your field is located, but this requires some coding...

HTH.

>Hi All
>
>Another user on a network can change a particular field value in a dbf file from time to time. I want to check this field value now and then. What is the best way for me to pick up the new value?
>
>SET REFRESH appears to apply to all open files which seems a waste since I am only interested in a single field from a single file. USE the file, read the field, close the file, and then re-USE the file seems like a lot of work too.
>
>Is there a simple way to force VFP to re-read just the value of a particular field from a particular file?
>
>Using VFP7.
>
>TIA
>
>Jos
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform