I have a form that detects idle time. This was adapted from a forum.
The code when logging into the database, as follows:
When the "Main" form is opened, the "Frm_DetectIdleTime" is still visible and not hidden.Code:DoCmd.Close acForm, "Frm_Logon", acSaveNo DoCmd.OpenForm "Frm_DetectIdleTime", , , , acHidden DoCmd.OpenForm "Main"
Thanks