Hello Dear friends, I have a question about Enabling Disabling Combo Boxes From 1 Combo Box Value.
I have 1 combo box [Warrtype] with values "Nowarranty, Year, Month, Day" I also have
1 Text Box [Warranty]
1 Text Box - Date/Time [Warroff]
I disabled both of the text boxes from the property sheet to disable.
If I choose from combo box the values "Year, Month, Days" the disabled combo boxes must be enabled, if i choose from combo box value "Nowarranty" all the text boxes must be locked again:
I did something like, but not working correctly....
I set the event procedure on combo box onEnter:
Select Case Me.WARRTYPE
Case "Year"
Case "Month"
Case "Day"
Me.Warranty.Enabled = True
Me.Warroff.Enabled = True
Case "Nowarranty"
Me.Warranty.Enabled = false
Me.Warroff.Enabled = false
End Select
Please correct my mistakes or suggest the best variant...
Thank you in advanced