Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
When to Requery or Not
Message
From
27/07/2001 11:48:19
 
 
To
27/07/2001 11:17:22
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00536441
Message ID:
00536471
Views:
10
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform