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 Steven Holt |