I'm attempting to change some properties of controls within specific Form Sections. One particular form is giving the following error:
Run-time error '2467':
The expression you entered refers to an object that is closed or doesn't exist.
The code in question looks like this (the error is generated on the second line):
For intitem = 0 to frmChange.Section(intSection).Controls.Count -1
Set ctlChange = frmChange.Section(intSection).Controls(intitem)
The intSection is 0 (detail section) and the count of controls in this section is 384. I can't seem to view the properties of any of the controls in this section but I can in other sections on this form.
Other forms in my application don't generate this error.
Any Ideas?
Run-time error '2467':
The expression you entered refers to an object that is closed or doesn't exist.
The code in question looks like this (the error is generated on the second line):
For intitem = 0 to frmChange.Section(intSection).Controls.Count -1
Set ctlChange = frmChange.Section(intSection).Controls(intitem)
The intSection is 0 (detail section) and the count of controls in this section is 384. I can't seem to view the properties of any of the controls in this section but I can in other sections on this form.
Other forms in my application don't generate this error.
Any Ideas?