A much better way!

Place the following in a module:

Code:
Global myVar as String 'or whatever you want it to be called
Change the information accordingly. But all you have to do is where your telling the form to pull the vars value, use the vars name rather than the text box that I assume you're using now.