Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Preventing child grid refreshes
Message
 
 
To
21/09/1998 19:15:29
Richard Hackett
Dr Dick's Software Inc
Edmonton, Alberta, Canada
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00139308
Message ID:
00139313
Views:
20
Dick,

If you used parameterized views for the grids of the child and grandchild tables things would get easier. You'd no longer need the relational code/properties. You can control when they get Requeried.

>I want to display a two level relationship (four tables) using 4 grids in a form - a parent table, the child table and 2 grandchild tables in grids. It seems the SET SKIP conditions for the relationship(s) are always refreshed, and the resulting child recordsets always redisplayed upon clicking on any cell in any row on my parent grid. I'd like to conditionally prevent the recordpointers in the child and grandchildren from moving if their parent(s) are just clicked upon - that is, when I don't change row in the parent.
>
>Of course this behaviour is required when I move rows, but the entire grandchild recordsets usually change disconcertingly when I click inside the current row on the parent grid, because the child recordpointer moves to the top of its recordset, forcing the grandchildren recordsets which depend on it to change too. And I'd like to stop that if I'm still on the same row in the parent.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform