use Dim frm As Form
Posted on 2006-04-10
I'm constantly typing out the same long form references over and over again because I am not confident I know how to use Dim whatever As Form to refer to a main forms, subforms, subsubforms. Using these examples; how could I use As Form to refer to the form in the first, the sub in the second and the subsub in the third?
I'm Ok with strings but as soon as you get to As Form or As Control I need some clarification of when and how to use them.