Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Childgrids go dead when parents' recordsource changes
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00244038
Message ID:
00244153
Views:
16
I have found that relationships defined in the DE can conflict with relations defined in the grid. I have found the grid more stable for this. To ensure that the table record points are all pointing to the right records in the parent and child put a SET STEP ON in the code that moves the record pointer and ensure everything is okay. Also ensure you are refreshing either the grid or the form so that the new child records will show.

>Here is the setting:
>
>Table1 is related into Table2.
>Table2 is related into several child tables.
>Forms' parent grid uses Table2 as recordsource.
>
>If I programmatically change the recordsource of the parent grid to Table1, the childgrids go dead (they no longer updates their contents as I move from record to record in the parent grid). All relations are intact after doing this, so why doesn't the childgrids follow the childtables any more?
Previous
Reply
Map
View

Click here to load this message in the networking platform