Another way to do it if you only want a subset of the controls on the Details section is to use the Tag property. Set it to 1 for the ones you want to enable/disable. I have done that in the past if I have sections of a form to enable/disable. You can create one function and pass it the group (Tag=1, Tag=2, etc.) and treat them as one. This may not apply now but it may help you in the future.