Hi,

I'm trying to learn about referencing controls on a form from a module.

I know there is something called the forms collection which contains all the controls that are on a particular form, but I don't know how to use that..

For example, say I have a form with several text boxes, listviews and command buttons. In my module, say I want to count the number of listviews on a particular form and also find out the tags of each listviews.

This is just to help me learn this subject.. Any help and examples would be greatly appreciated..

Dan