Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
When to Requery or Not
Message
De
27/07/2001 11:48:19
 
 
À
27/07/2001 11:17:22
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00536441
Message ID:
00536471
Vues:
8
This message has been marked as the solution to the initial question of the thread.
>I was looking through an app of mine and saw that I do a Requery at these times:
>
>1. Form's Init for all views (data is opened and Buffered in the form's Load)
>2. Page Activates for views used for the active page
>3. In delete/save methods after issuing TableUpdate()
>
>In general, when should a Requery be done and where? Thanks!
>
>Regards, Renoir

Only to fetch new data. You've got to do it once when the form loads (whether from Init or Load), but after that, you should only be using it to fetch new data, or when parameters change.
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform