Joe

I just set up a very simple example to confirm behaviour and is as expected.


If the second form always comes up on the first record then something must
be changing the record pointer. I'd put a breakpoint in the button / code
where you launch the 2nd form and watch for a change in recno(<alias>) and
see what the culprit is.

-----Original Message-----
From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Joe
Yoder
Sent: Monday, 29 February 2016 2:59 PM
To: profoxt...@leafe.com
Subject: Re: How to allow multiple forms to update the same record pointer
in a table

That all makes sense.  I added wait window alias() and wait window select()
statements in debug buttons on the forms.  They all agree that the same
table is selected in the same work area but the detail always comes up on
record one and the calling form refreshes back to the same record it was on
when the detail form was called. What else could I be overlooking?

Thanks,

Joe

On Sun, Feb 28, 2016 at 7:43 PM, Darren <fox...@ozemail.com.au> wrote:

> Assume : Using the same table / alias / workarea.
>
> Moving record in one form will move in the other form.
>
> I'm assuming you want first form to reflect the move in the second 
> then you'll need to refresh that first form when you move record 
> pointer on second form.
>
>
>
> -----Original Message-----
> From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of 
> Joe Yoder
> Sent: Monday, 29 February 2016 11:33 AM
> To: profoxt...@leafe.com
> Subject: How to allow multiple forms to update the same record pointer 
> in a table
>
> I have a form that displays basic information from a table in a list 
> box with its row source as table fields.  When the user clicks a 
> record in the list box another form comes up with complete detail for 
> the selected record displayed in text boxes with the table fields as 
> their control source.  The detail screen allows previous and next 
> choices that move the record pointer.
> There is also an exit button to return to the previous screen.
>
> Both forms are modal and use the default data session
>
> What do I need to do to have both screens use the same record pointer?
> Surely I don't need to pass a record number between screens?
>
> Thanks in advance,
>
> Joe
>
>
> --- StripMime Report -- processed MIME parts --- multipart/alternative
>   text/plain (text body -- kept)
>   text/html
> ---
>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/00c601d172a8$ba0d96e0$2e28c4a0$@ozemail.com.au
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to