Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Relationships in Grid Control
Message
 
To
24/05/2001 09:01:45
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00510788
Message ID:
00510838
Views:
26
Kev,

>>In between Cetin's and your reply, I have experimented and noticed that if I do a SELECT ParentTable, the grid will filter itself to just the related CL_REF records, so I now know how to get what I want, but am confused now as to why I have to SELECT the parenttable to refresh the values in the grid?!!>>

AH!

The relationship doesn't take effect until the parent table is selected. You can verify this at the command window by opening two likely tables, browsing them and then performing the set relation. The child table doesn't "filter" until you've set focus to the parent table. Your grid's working the same way.

After the relationship's been set, try MyGrid.SetFocus()

Regards,
Thom C.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform