DaveTappenden
Programmer
- Jan 16, 2002
- 21
Can someone please help me with the code needed to do something like:
foreach subform in form
foreach control in subform
control.enabled = true
control.backcolor = white
next
next
This is part of an idea to make all my forms readonly, with an update button that would run the above code and enable all textboxes on the form and subform(s). Some of my forms have up to 3 subforms, and I want reuseable code to find all subforms.
Thanks
foreach subform in form
foreach control in subform
control.enabled = true
control.backcolor = white
next
next
This is part of an idea to make all my forms readonly, with an update button that would run the above code and enable all textboxes on the form and subform(s). Some of my forms have up to 3 subforms, and I want reuseable code to find all subforms.
Thanks