Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grids and SET RELATION problem
Message
De
26/04/2001 13:44:56
 
 
À
26/04/2001 13:38:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00500174
Message ID:
00500266
Vues:
19
>How about unbinding the child grids before you break the relation, break the relation, then re-bind the grid?
>
>
>ThisForm.grdChild1.RecordSource = ""
>ThisForm.grdChild2.RecordSource = ""
>SELECT t_pi01
>SET RELATION TO
>ThisForm.grdChild1.RecordSource = "alias1"
>ThisForm.grdChild2.RecordSource = "alias2"
>Thisform.Refresh()
>
>
>
>- Brian
>
>


That worked, too, and would be less i/o. Only thing left to manage is the record pointer in the child table after the relation is reset.
-Henry-
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform