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?