close forms

Spira

Registered User.
Local time
Today, 15:40
Joined
Feb 23, 2004
Messages
35
ive got a 'log off' button on the mian menu. when itis clicked the logon form is opened. Is there any way i can close all other forms other than writing separate close commands for each form?

thanks
 
Dim frm As Form

For Each frm In Forms


DoCmd.Close acForm, frm.Name

Next
 

Users who are viewing this thread

Back
Top Bottom