>>>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.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement