Re: How to return values - best solution ?
- From: adamku01@xxxxxxxxx
- Date: Mon, 19 Jan 2009 06:20:18 -0800 (PST)
On 19 Sty, 14:55, "Jeff Boyce" <JeffBoyce...@xxxxxxxx
DISCARD_HYPHEN_TO_END> wrote:
Adam
We have even less to go on than you do ...
Have you looked into using a global variable? Or the OpenArgs property?
--
Regards
Jeff Boycewww.InformationFutures.net
Microsoft Office/Access MVPhttp://mvp.support.microsoft.com/
Microsoft IT Academy Program Mentorhttp://microsoftitacademy.com/
"adamk" <ad...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:06500F79-98AB-4A2B-B522-2EA240D289D1@xxxxxxxxxxxxxxxx
Hi,
How can I return values (to setup some controls e.g. txtBox) to callingform
from called form when I don't know the name of the calling form ?
Thanks for any help
Adam
Sorry :-) More detailed description follows.
Form Form1 has two controls:
- text box control - Text1
- button control - Button1
Form Form2 is classic data*** form e.g. Customers.
In OnClickEvent for Button1 control I open Form2 to select valeues
(from 1 selected row).
Value(s) from selected row on Form2 (e.g. CustomerFirstName) I want to
assign to Text1 control on Form1.
Because of I create some "template" form I don't want to use "direct"
name of the calling form (Form1) and "direct" name of the text
control.
The best solution will be passing them as "parameters".
I looked into using a global variables and the OpenArgs property, but
all of them used "direct" names.
Adam
.
- Follow-Ups:
- Re: How to return values - best solution ?
- From: Jeff Boyce
- Re: How to return values - best solution ?
- References:
- How to return values - best solution ?
- From: adamk
- Re: How to return values - best solution ?
- From: Jeff Boyce
- How to return values - best solution ?
- Prev by Date: Forms buttons don't work in mde
- Next by Date: Re: Do not want subform to update
- Previous by thread: Re: How to return values - best solution ?
- Next by thread: Re: How to return values - best solution ?
- Index(es):