I have a general module that Dim's a variable Global. I have a main form and several sub-forms. The main form sets the value of the global variable in its Open Event. However, when the sub-form(s) open the value of the global variable is zero. When I close the main form and then open it again the global variable has the correct value and all the sub-form(s) populate accordingly. What might be the best coarse of action to correct the situation?