I think I have been asking the wrong question.
I am creating a series of radio buttons on a form (6 of them). I would like the radio button to pass a parameter to the main function telling the main function that it was the one selected.
I do not want to have to poll each of the radio buttons to determine which was selected, I would like to have the radio button tell the main function.
How can this be done? All I can find reference to is how to set my main function to test each of the buttons.