Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cgridlist and SET RELATION TO
Message
From
17/04/2000 13:31:23
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, California, United States
 
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00360462
Message ID:
00360501
Views:
8
>Here's a tough one I'm stumped on. I got multiple bizobj forms with a cgridlist on each of them. I'm using a bizobj but NOT a data environment, my underlying data for each grid is already open and setup before the grid form ever gets launched.
>
>When more than one grid form is displayed in response to user selection to show desired data sets, the underlying tables are often related with good old SET RELATION TO... So when the user moves between rows in one grid form, the other grid forms need to reflect the record pointer moving just like we're used to seeing in BROWSE windows with a SET RELATION in effect.
>
>In AfterRowColChange on the grid, I coded in a call to RefreshForm() on each subsequent grid form but it's not working. I cant use the bizobj's PostMoveRecordPointerHook() because I'm not using data environments. Any ideas how I can the multiple grids with related tables to be in sync with each other as the user moves between records?

Roxanne,
I know this sounds really elementary, but have you checked LockScreen? I've noticed that the framework sets that property in the least likely places, and I've been dumbfounded by it more than once! That tends to be the culprit when my grids don't seem to be catching up to their record source Refresh(), at least for me. <=== the Jason disclaimer!

Hope that helps
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform