Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid issue
Message
 
À
10/01/2002 10:06:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00602969
Message ID:
00603046
Vues:
28
>Hi,
>
>You could set up a primary key in both the region's table and the center's table. You would need an index on the primary key in both tables. Then relate the two tables in a parent child relationship. Then, as you scrolled the region's grid the centers grid should automatically refresh. On second thought, you might need to move the pointer in the parent grid with the forms buttonset commands like next, previous, first, last, etc. I havn't actually done this, so I can't say for sure that it would work, but from what I've gathered it sounds like the ideal situation for the traditional parent child form provided in the framework distributed with VFP. You could also provide code in the region's grid that seeks the first matching record in the center's table, then issue a Thisform.grid_centers.Parent.Refresh. You might consider this as another alternative.
>
>
>
>Leland
Leland F. Jackson, CPA
Software - Master (TM)
smvfp@mail.smvfp.com
Software Master TM
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform