[2005] radio buttons relying on 10-20 other raido buttons to get info
Hello,
I have about 30 radio buttons on my form (see image). i need to check if radiobutton1.checked=true then check for what radio button is checked in groupbox 2 then check for what radio button is checked in groupbox 3. then i need to react accordingly. i can do this on my own with about 30 if...thens nested inside 10 if...thens for the first group box. what i am wondering is: is there any fancy way to do this without all that coding. like i don't know maybe a loop or something. i am looking for a way to do this with as little code as possible but i can do all those if...thens if i have to. thank you all for your help
Re: [2005] radio buttons relying on 10-20 other raido buttons to get info
It looks like you have 4 groups. Can there be more than one selected in each group? If the answer is only one then a combobox might be a better way to do this.
Re: [2005] radio buttons relying on 10-20 other raido buttons to get info
Originally Posted by .paul.
show us your code, and we might be able to help simplify it
edit: p.s. your website doesn't work
i know that the website inst up and running. i think i had a power outage and my computer shut down. (it inst a dedicated server which i run all the time i would maybe run it more often if i could get a guess at how many people were going there. but now i divert so bock on topic)
well i haven't started working on my code yet because i was hoping for a response from here that would save me some time. But i didnt get on so i will just type up my code and then let you all see it. If my guess is right then there will be over 1000 lines of code (not to much but enough to make people not want to read it) i will post my code when i am done.