>>>In have an app in vfp60 that works on the network. I need to refresh data
>>>from time to time so the user can see uptodate information. What is the call
>>>to REFRESH DATA?
>>
>>=refresh()
>Hi James,
>Having problems...=refresh() is not working. I am getting an error message
>saying "No update tables are specified. Use the Table property of the Cursor."
Are you using an updateable view? If not, you will need to requery the view:
=requery()
There are differences between the two functions, which are explained in the help. Basically, the requery() returns all the data for a view, and the refresh() reexecutes the query on which the view is based. With the refresh() function, you have the option of refreshing the data for particular set of rows. Generally, requery() is a lot faster.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only