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:
00718693
Views:
19
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?
Previous
Reply
Map
View

Click here to load this message in the networking platform