Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refreshing a field value
Message
From
07/10/2002 07:37:49
 
 
To
07/10/2002 06:20:34
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00708296
Message ID:
00708307
Views:
10
This message has been marked as the solution to the initial question of the thread.
>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

Jos,

If you have a form with a textbox, just form.textbox.Refresh() will do

If it's an open table
go recno('AliasOfTable') in AliasOfTable && refreshes buffer
? AliasOfTable.Field1
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform