Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Forcing a refresh of relations in a grid
Message
From
03/06/1998 20:31:33
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00103813
Message ID:
00104533
Views:
25
>>>How do I force the "refresh" of the relations that are defined in a grid?
>>>
>>>I have a situation where other forms might alter the relations between tables so I want to ensure the relations are reset.
>
>Hi Nancy and Erik.
>
>I don't think I explained the situation completely. :-)
>
>I don't use the data environment at all. I open all of my tables at the start of the app. When I use a grid for a one-many relation, I define the relationship in the "data" tab of the properties of the grid. I don't manually issue a "set relation" command at all. The grid handles it.
>
>How do I thus reset or refresh the relations that are defined in the grid? The relations could be destroyed by another form (my system allows multiple forms to be opened at once).
>
>Any ideas?

All of my forms use private datasessions and parameterized views, I don't have a single relation in operation in any shape or form, for the reasons you are finding and many more. I wish I could be of more help, but I'm afraid your app strategy is something I have no experience with.
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform