Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where to Requery after List is closed
Message
 
 
To
28/11/2002 09:14:42
General information
Forum:
Visual FoxPro
Category:
CodeMine
Miscellaneous
Thread ID:
00727921
Message ID:
00727947
Views:
10
Gary,

>So, the easiest way to do this is to subclass the form's list method so that you call dodefault() and then immediately do your requery after control returns from your custom list dialog, via the list method.<

Do you mean something like the following in the frmDataForm List() method?:
FUNCTION frmdataform.list
LPARAMETERS cWorkarea

DODEFAULT()
THISFORM.MyRequery()
The above actually does open my custom subclassed list, but then it proceeds and does the THISFORM.MyRequery() before the list browse window is closed - so it doesn't actually do what I need it to.

After thinking about your suggestion, I did put the THISFORM.MyRequery() in the Form Activate() method, and that did the job. You think that would be a problem calling THISFORM.MyQuery there, or do you have another suggestion?

Thanks for your help.

Mel Cummings
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform