G
Guest
How do I iterate through all the controls on a form? Currently I have:
Dim ct AS Access.Control
For Each ct In Forms("frmMyForm").Controls
..code
Next ct
I get an error that it can't find the form when I'm in the form itself and
spelling looks correct.
Thanks
Dim ct AS Access.Control
For Each ct In Forms("frmMyForm").Controls
..code
Next ct
I get an error that it can't find the form when I'm in the form itself and
spelling looks correct.
Thanks