Various ways. You could pass a parameter when you create the 2nd form and pick that up in the Init of the 2nd form then set a property on the form with the object reference.
You could create the form and then set a property on the 2nd form with the object reference (depends if from is modal or not). You could use _Screen or some other public object to hold a property with the object reference. You could create a variable scoped public and set that to the object reference. I am sure there are more but that should give you something to work with. -----Original Message----- From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Sytze de Boer Sent: Wednesday, 6 July 2016 9:45 AM To: profoxt...@leafe.com Subject: Re: updating 2 forms Darren, thanks for your suggestion. But I'm stuck on how to pass such a reference Can you suggest? On Wed, Jul 6, 2016 at 11:12 AM, Darren <fox...@ozemail.com.au> wrote: > Yes be the answer. > > I'd probably attack it by passing a reference to the text box to be > updated to the 2nd form. In the control on the 2nd form interactive > change event have that set the caption of the text box on the first > form to the value of the control on the 2nd form. > > > > -----Original Message----- > From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of > Sytze de Boer > Sent: Wednesday, 6 July 2016 9:02 AM > To: profoxt...@leafe.com > Subject: updating 2 forms > > Friends > > In a new application I am developing, I have a Form with a Command > button The Command button opens a 2nd form > > When my client enters data into this 2nd form, I need to show what is > being typed in a Text box on the 1st form. > Can that be done? > > > -- > Kind regards, > Sytze de Boer > > > --- 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/00e401d1d719$70770ea0$51652be0$@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.