Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grids, textboxes and table relationships
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00669837
Message ID:
00670158
Vues:
16
For performance reason, when pointer moves in a parent table VFP doesn't move pointer in a child table until any field in the child table or child table itself get referenced/accessed. I don't know why in your case VFP doesn't see that a field from the child table is referenced in the text box.

>That definitely would take care of the problem. I find that if I take any of the textbox fields that I want updated and add them into the cursor and the grid, then the update will take place.
>
>However, I really want to understand why this is happening because I can think of a few cases where I don't want that field to be displayed in my grid.
>
>I also have found that if I add 'go recno()' into the refresh method of one of the textboxes, that textbox will be refreshed properly. I've also found that I can get the textboxes to refersh properly if I reference the table to which they're tied in any way. For instance, I've added 'wait window nowait country.desc' in the refresh method of my grid just before 'thisform.refresh'. Just doing that causes the refresh to work properly.
>
>It seems as if the grid, in doing it's refresh, temporarily forgets about the relation that's set up. It takes referencing the other table to get the relationship to update.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform