Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refreshing Data?
Message
De
24/01/2001 11:24:50
 
 
À
24/01/2001 11:15:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00467894
Message ID:
00467911
Vues:
8
>>>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
Fil
Voir

Click here to load this message in the networking platform