Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where to Requery after List is closed
Message
From
28/11/2002 10:04:41
 
General information
Forum:
Visual FoxPro
Category:
CodeMine
Miscellaneous
Thread ID:
00727921
Message ID:
00727951
Views:
9
>Do you mean something like the following in the frmDataForm List() method?:
>
>FUNCTION frmdataform.list
>LPARAMETERS cWorkarea
>
>DODEFAULT()
>THISFORM.MyRequery()
>
Something along those lines. You would probably need to make your list form "modal" for it to work, if it is not already. If it is modal, you shouldn't get to the requery until the form has closed.

>You think that would be a problem calling THISFORM.MyQuery there, or do you have another suggestion?

It should be OK there. What I was also going to suggest was turning the lRequeryWhenParentMoves flag to False on the child cursor so that when you move in the list, the child data is not getting requeried. Then, after the correct record is selected, then turn this setting back to True. However, this has differing ramifications so you need to be a little carefull.
-=Gary
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform