Hi Rufuss,
Depends. There's lots of ways to do this, if you are running the code from a module, and your variable is defined within your module, then your form should be able to access this variable, if the variable is defined within the code portion of your first module, you will need to pass it as a variable to your form open/load event.
HTH
Todd