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:
00718480
Vues:
23
Check message #717214

The solution is to use a blank cursor structure for your grid recordsource, then append data to the cursor. When changing cursors, zap the grid's record source cursor and append the next batch of data. Resetting the record source clears your initial (design) settings and applies the field names and settings to the grid.


>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?
Imagination is more important than knowledge
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform