C
Carl Clarke
I would like to go through all of the objects on an Access form and
lock/unlock them.
I tried the following (from a book)
Dim ctl As Control
For Each ctl In Me.Controls
ctl.Locked = True
Next ctl
but I get an error mesage that the object doesn't support the property or
method. I am sure this is possible, and would be grateful for a pointer in
the right direction.
Also I believe that I can check for the type of control ?
Thanks in anticipation
Carl Clarke
lock/unlock them.
I tried the following (from a book)
Dim ctl As Control
For Each ctl In Me.Controls
ctl.Locked = True
Next ctl
but I get an error mesage that the object doesn't support the property or
method. I am sure this is possible, and would be grateful for a pointer in
the right direction.
Also I believe that I can check for the type of control ?
Thanks in anticipation
Carl Clarke