Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grids and SET RELATION problem
Message
From
26/04/2001 13:44:56
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00500174
Message ID:
00500266
Views:
29
>How about unbinding the child grids before you break the relation, break the relation, then re-bind the grid?
>
>
>ThisForm.grdChild1.RecordSource = ""
>ThisForm.grdChild2.RecordSource = ""
>SELECT t_pi01
>SET RELATION TO
>ThisForm.grdChild1.RecordSource = "alias1"
>ThisForm.grdChild2.RecordSource = "alias2"
>Thisform.Refresh()
>
>
>
>- Brian
>
>


That worked, too, and would be less i/o. Only thing left to manage is the record pointer in the child table after the relation is reset.
-Henry-
Previous
Reply
Map
View

Click here to load this message in the networking platform