M
maduckie123
Hi,
There are myriads of posts here and in Google groups about how to pass
variables between an opened and a called form. However, several contradict
others and proclaim their method to be "the way" to do this. I've tried many
different suggestions I've found on this board and elsewhere online -- all to
no avail. In a nutshell, here is what I need to happen:
Button on opened multi-record Form named "MainForm" will call a second single-
record Form named "ChildForm". Since the user can select/highlight any
single record from MainForm, when the button is pressed, the MainForm must be
smart enough to recognize which record has been selected and one of the data
elements (which are unique) must be passed to the ChildForm so that a query
will fire in ChildForm based on the unique criteria selected/passed on/from
the MainForm. Nothing needs to be passed from the ChildForm to the MainForm;
ChildForm is for look-up (read-only) purposes only.
I need advice on what events to put where and the respective arugments/syntax
that will make this work. Thanks in advance for your help.....
There are myriads of posts here and in Google groups about how to pass
variables between an opened and a called form. However, several contradict
others and proclaim their method to be "the way" to do this. I've tried many
different suggestions I've found on this board and elsewhere online -- all to
no avail. In a nutshell, here is what I need to happen:
Button on opened multi-record Form named "MainForm" will call a second single-
record Form named "ChildForm". Since the user can select/highlight any
single record from MainForm, when the button is pressed, the MainForm must be
smart enough to recognize which record has been selected and one of the data
elements (which are unique) must be passed to the ChildForm so that a query
will fire in ChildForm based on the unique criteria selected/passed on/from
the MainForm. Nothing needs to be passed from the ChildForm to the MainForm;
ChildForm is for look-up (read-only) purposes only.
I need advice on what events to put where and the respective arugments/syntax
that will make this work. Thanks in advance for your help.....