If one form is opening the other, pass the variable in the constructor. Otherwise, you must put the variable in a place visible to both forms, like as a public variable/property of a module. There are many other posts on these forums relating to communication between forms that answer the same or similar questions.