Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Does anybody know what the REFRESH() function is useful
Message
 
À
31/03/2004 13:51:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00891049
Message ID:
00891330
Vues:
28
>> Have you used REFRESH() in a real life application?

FWIW, this is used the the Visual FoxExpress framework, so it's in my apps. :-) Basically, it allows you to requery just the record a user is currently working on. Consider a user working on a record and has modified a few fields and has performed a save. Refresh can be called just after the save to get any potential changes to the other fields (changes made by another user) since the last requery. Refresh may be better than a full requery in this case for performance reasons. After you call refresh function, you need to refresh the controls, of course. This way, the user is looking at the most recent data for all fields (not just the ones he has just changed).
Del
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform