Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where to Requery after List is closed
Message
De
28/11/2002 10:04:41
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
CodeMine
Divers
Thread ID:
00727921
Message ID:
00727951
Vues:
10
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform