Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Leland,
The originator of the post was Jeffrey, not me. Did you copy him on this?
Renoir
>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 the center's table, then issue a Thisform.grid_centers.Parent.Refresh. You might consider this as another alternative.
>
>
>
>Leland
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement