Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange Grid
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Strange Grid
Divers
Thread ID:
00024444
Message ID:
00024444
Vues:
66
Here is the situation : I have a form consist of 1 Pageframe with 5 pages. Page 1 for Parent Table entry Page 2 for Parent Table Record list using Grid (named Grid_A) Page 3 for Child Table Entry Page 4 for Child Table Record list using Grid (named Grid_B) Page 5 for Parent-Child show, with Child table shown on a Grid (named Grid_C) The parent table and child table were not related permanently in the database container. I only set the parent-child relationship when Activating Page 5 of the pageframe, and release the relationship when Deactivating Page 5. I set the record source for Grid_B in the Activate Event of Page 4 and the record source for Grid_C in the Activate Event of Page 5. But it seems that Grid_B on page 4 always reflecting the records show in Grid_C on Page 5. This is only happened after the first time I try to switch from Page 5 to Page 4. Especially when there is no related child records for the current Parent Record, the Child table record position is EOF. I already try to close the Child table and Re-open it before setting the record source for Grid_B but that's not work. Even I try to force the record pointer to move to the first (using "goto top"), it always back to the EOF position. I really appreciate any help, comments or advice to deal with this problem. I'm using VFP 3.0 on Windows 95. Thanks In Advance Tony
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform