Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inactive relations after grid recordsource change
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00718447
Message ID:
00718480
Views:
22
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
Previous
Reply
Map
View

Click here to load this message in the networking platform