Hi. I work for a small consumer PC repair company as a workshop technician, but have recently been tossed into the deep end on coding an Access/VBA system for a client despite not having used VB since a school project nearly a decade ago. I am using Access 2013.
I am currently struggling with disabling and enabling a set of three text boxes (txtYears, txtMonths, txtDays) depending on the status of a radio button option group containing buttons optD & optI, with D enabling the text boxes and I disabling. There is no default value and I would ideally want the textboxes disabled until an option is selected.
I have a had a look at a couple of similar questions
(Here & here), but have been so far unable to successfully adapt the solutions provided for those circumstances to my own.
I also ideally need to make one of the forms combo boxes selection options vary based upon the same pair of radio buttons: the SQL query for the combo box's options needs to be "Where Team = '1'" if optD is selected and "Where Team = '2'" if optI is selected). Is this feasible?
Any help would be much appreciated.