Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CodeMine Toolbar Requery button
Message
From
16/09/2002 19:55:27
 
 
To
16/09/2002 19:36:09
General information
Forum:
Visual FoxPro
Category:
CodeMine
Miscellaneous
Thread ID:
00701003
Message ID:
00701045
Views:
15
John:

>I don't understand. Why not just issue a thisform.requery('viewname') and if required a refresh() for the display control.

You are correct. When trying to answer the question, I took a very quick look in the form's requery parent code and didn't notice the fact that it makes provision to handle the requerying of a specified view without a value in cRequeryDialogClass. I just saw what I wanted to (which was the creation of a localised requery dialog) and thought, we don't want that to happen :(

However, this element is not the hub of the issue. Mel wanted to activate the Requery button which is disabled by the default form.IsEnabled code where no value is present in cRequeryDialogClass. The subsequent requery of the view can be handled via the form's requery method (as you have suggested), the datamanger or directly to the cursor object in the CDE.

You can see how often I use the form based requery method !

Best
-=Gary
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform