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

Kinda what I thought based on the record pointer thread, but I needed to be sure. Thanks!
Previous
Reply
Map
View

Click here to load this message in the networking platform