main logo
Subject: Re: navigating in parent of table one to many form
Author: Steven Holt
Posted: 2007/08/31 19:08:33
 
View Entire Thread
New Search


Thanks to both of you for such on-target help! You've broken my
logjam. Simply setting OneToMany property to false in the parent to
child relation in the form did the trick I wanted. Thanks! Set skip or
the SQL method would have done the same programmatically.

This was just a quick image display form for matching undata entered
digital camera images with their data entered (and renamed) versions
with a button for applying the data entered file number/name to the
camera named files. Now if only foxpro could display raw files and zip
compressed tifs... So this is a temporary local program that is not
something that remotely needs to go SQL capable yet. I'm just trying to
coral a 750 gig hard drive full of image files without going nuts doing
it manually.

Best,

Steve

Steven
Holt
http://stockpix.com
(541)
267-2803
sh /at/ stockpix .D.OT com
93559 Easy Creek Ln.
Coos Bay, OR 97420

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 Steven Holt
<-- Prior Message New Search Next Message -->