Sorry, I press the wrong button, but here it goes again.
The following routine works in some projects, and doesn't work others.
Sub EnableText()
Dim ctl as Control
For each ctl in me.controls
If ctl.ControlType = acTextBox
with ctl
ctl.enable = true
end with
end if
next ctl
The error that I get is the following: "Object doesn't support this property or method". Does any one know how to fix it, and what is causing it.
Thanks
The following routine works in some projects, and doesn't work others.
Sub EnableText()
Dim ctl as Control
For each ctl in me.controls
If ctl.ControlType = acTextBox
with ctl
ctl.enable = true
end with
end if
next ctl
The error that I get is the following: "Object doesn't support this property or method". Does any one know how to fix it, and what is causing it.
Thanks