R
Ray C
I need to pass a variable from my Menu Form to my Working Form but It does
not seem to work.
I have put the following in the "General" section of the Menu Module :-
"Public MenuSelect as Integer", I have set Menuselect to 21 in the Menue
Module Code and then switched to the code in my Working form and tried
"Debug.print "selection = "; MenuSelect. Nothing! Doing the same within the
Menu Form prints selection = 21 in the Immediate window.
I know I can pass OpenArgs when I open a new Form but for various reasons I
open my Forms initially and then make them visible or not as required.
OpenArgs would work first time round in this scenario but would not work
thereafter. Any thoughts please?
Thanks RayC
not seem to work.
I have put the following in the "General" section of the Menu Module :-
"Public MenuSelect as Integer", I have set Menuselect to 21 in the Menue
Module Code and then switched to the code in my Working form and tried
"Debug.print "selection = "; MenuSelect. Nothing! Doing the same within the
Menu Form prints selection = 21 in the Immediate window.
I know I can pass OpenArgs when I open a new Form but for various reasons I
open my Forms initially and then make them visible or not as required.
OpenArgs would work first time round in this scenario but would not work
thereafter. Any thoughts please?
Thanks RayC