Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Force refresh of child records from a relationship
Message
From
25/08/1996 15:37:08
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Force refresh of child records from a relationship
Miscellaneous
Thread ID:
00006626
Message ID:
00006626
Views:
94
I have a child grid on the form that the data property of that child table is defined to be relationed from the parent table. The record number in the parent table will not change for the life of the form so I've put this code in the Init() of the form.

SELECT PARENT
BROWSE
SELECT CHILD
GO TOP

If I don't put the BROWSE, the child table represent the entire table instead of just those child records from PARENT. It seems VFP need some kind of refresh to represent the child records. I tried this code but it didn't work.

SELECT PARENT
GO RECNO()
SELECT CHILD
GO TOP

Any idea?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform