N
Neil
Hello All,
I am wondering if there is a (quite) simple loop that you could use to loop
through all controls on a form and any subforms that may be on that form and
also any subforms on the subform. I am thinking that i should check the type
of control and see if it is a subform and then call a procedure to check the
subform controls. In this procedure, i should then do the check again and
then call the same procedure (i have no idea how my cpu will behave if i do
this!?). I cant quite get my head round how to do it?
The reason I am doing this is that I want to see if a field exists in a form
or any of it's subforms. My problem arises when a subform has more subforms
on it.
Any suggestions...
TIA,
Neil.
I am wondering if there is a (quite) simple loop that you could use to loop
through all controls on a form and any subforms that may be on that form and
also any subforms on the subform. I am thinking that i should check the type
of control and see if it is a subform and then call a procedure to check the
subform controls. In this procedure, i should then do the check again and
then call the same procedure (i have no idea how my cpu will behave if i do
this!?). I cant quite get my head round how to do it?
The reason I am doing this is that I want to see if a field exists in a form
or any of it's subforms. My problem arises when a subform has more subforms
on it.
Any suggestions...
TIA,
Neil.