Hello:
I am trying to set up unbound button group options to allow the user to select the value they would like to use on another form.
In the process, the user has run several tests and he needs to decide which test results he will use. He will run at least one test and up to 10. My idea was the have the buttons (1-10) each representing a test ran. If for instance the user selects test 3 out of 7 tests, then he would select button 7 and the information pertaining to that test would populate on the next form.
I have a query that returns the results for each each test in the group, but I am unsure how to make it work in conjunction with the buttons. I was thinking that I would need to code each button with an onclick event or maybe have one case statement. as I said my buttons are in a group, so could i have one case statement that corresponds to each button in the group? If this is how i can accomplish it, how do I set the buttons in VBA to correspond to the entries of the query?
Thank you!
I am trying to set up unbound button group options to allow the user to select the value they would like to use on another form.
In the process, the user has run several tests and he needs to decide which test results he will use. He will run at least one test and up to 10. My idea was the have the buttons (1-10) each representing a test ran. If for instance the user selects test 3 out of 7 tests, then he would select button 7 and the information pertaining to that test would populate on the next form.
I have a query that returns the results for each each test in the group, but I am unsure how to make it work in conjunction with the buttons. I was thinking that I would need to code each button with an onclick event or maybe have one case statement. as I said my buttons are in a group, so could i have one case statement that corresponds to each button in the group? If this is how i can accomplish it, how do I set the buttons in VBA to correspond to the entries of the query?
Thank you!
Comment