MJV 0 Junior Poster in Training

I would like to create assign a value from a combo box selection to a variable. I'm not sure how to do this as im new to programming. I know how to trigger the assigment of the variable from the combo box when the combo box changes but Im not sure how to pull that variable into a method that occurs earlier in the form code. Any suggestions would be appreciated.