>How do I loop through active forms that are not in a formset? I need to know what form are currently open and close them or hide them at any one point.
>
>Thanks
Tim,
_Screen.Forms is a collection of all open forms. To loop through them, try the following:
for lxx = _Screen.FormCount to 1
_Screen.Forms[lxx].Release()
endfor
You need to go in reverse order.
HTH.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao