dynamictiger
Technical User
I have set my reference to DAO 3.6, I have the following code
For Each ctl In Me.Controls
If ctl.Parent.Tag <> "Required" Then
ctl.Parent.Visible = False
End If
Debug.Print ctl.Parent.Tag
Next ctl
For whatever reason, I am sure it is simple, this keeps hanging on For each ctl in Me.Controls.
It says ctl=Nothing
I am slowly going balder
For Each ctl In Me.Controls
If ctl.Parent.Tag <> "Required" Then
ctl.Parent.Visible = False
End If
Debug.Print ctl.Parent.Tag
Next ctl
For whatever reason, I am sure it is simple, this keeps hanging on For each ctl in Me.Controls.
It says ctl=Nothing
I am slowly going balder