Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inactive relations after grid recordsource change
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00718447
Message ID:
00718693
Vues:
20
Hi Olav !
I hade several problems with relationed tables used in grids also.
Your problem looks like problem with grid refreshing.
1. You can try to issue seek fuction command to refresh grid with related tables - seek(lcId,"cursor3","id")
2. You can also use view rather than related tables - sometimes it is quite easy to make such change.






>One of my grids seems to loose contact with related cursors after I change its' recordsource on the fly.
>
>This is the setup in the dataenvironment:
>
>Cursor1 --> Cursor2 --> Cursor3
>
>Initially, Cursor2 is the recordsource. Changing recordsource to Cursor1, seems to deactivate the relation from Cursor2 into Cursor3. But just in the grid, not in the Dataenvironment.
>
>Does anyone have an idea on how I can make the grid pick up the relation again?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform