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

You are calling the "frmDataListForm" using Control+L or the list button? If so, you ultimately call the form's List method. Presumably, you have specified your custom frmDataListForm subclass in cListDialogClass and you are using the default form.List method to call it. 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.

HTH



>Perhaps someone can help me with this one.
>
>I have sub-classed the frmDataListForm, and it is working as expected. I use it to select a certain record from a Parent table, then I requery a child view after the list is closed. I do not want the requery to take place in the DM AfterNav() - as this would requery the child table as the frmDataListForm is scrolled through.
>
>Can someone make a suggetsion as to where I could put the requery, so that after the frmDataListForm is closed - the requery is done automatically without the user having to press a requery button? I do have a requery button on the form, but that takes an extra push of the mouse.
>
>Thanks,
>
>Mel Cummings
-=Gary
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform