I have two forms, I declare a variable as public in the general decleration. In one form I give that variable a value, in the second form I have a select statment using that variable, but it doesn't hold the value. EX: Public phase as string......phase="PRI"...."Select unit from table where ph=phase"