Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Force refresh of child records from a relationship
Message
De
25/08/1996 15:37:08
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Force refresh of child records from a relationship
Divers
Thread ID:
00006626
Message ID:
00006626
Vues:
97
I have a child grid on the form that the data property of that child table is defined to be relationed from the parent table. The record number in the parent table will not change for the life of the form so I've put this code in the Init() of the form.

SELECT PARENT
BROWSE
SELECT CHILD
GO TOP

If I don't put the BROWSE, the child table represent the entire table instead of just those child records from PARENT. It seems VFP need some kind of refresh to represent the child records. I tried this code but it didn't work.

SELECT PARENT
GO RECNO()
SELECT CHILD
GO TOP

Any idea?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform