The parent table has a SET SKIP TO set to the child table. I'm not sure if this is the right way to go about it, or if you just need to turn it off. It depends on what your form is supposed to be doing.
Select Parent Set Skip To Skip Set Skip To Child ThisForm.Refresh()
HTH, Tracy
On Fri, August 31, 2007 6:34 am, Steven Holt wrote: > I'm suspect, I'm making a very simple error in form navigation but have > just not figured out a way past it. > > I've been trying without success to make a set of navigation buttons to > navigate the parent table in a VFP 6 wizard generated one to many form. > I've tried to put roughly these pared down pieces below of code into a > new set of next/previous buttons in the click event method. > > select parent > skip > thisform.refresh > > and > > skip in parent > thisform.refresh > > When anything happens at all, it only moves in the child table not the > parent until the end of the many children is reached in the child table > and only then does the parent increment. I've tried moving control onto > the parent by selecting it in the screen's data environment and clearly > I just don't know how to control these silly forms. They are powerful, > but tend to be a bit opaque at times for what should be a painfully > simple modification. I suspect I may not be successfully refreshing > the data buffering with the refresh. > > Best, > > Steve
©2007 Tracy Pearson |