I have a form set to load at startup that has code in its Load event thus:
Private Sub Form_Load()
DoCmd.OpenForm "frmLogOff", windowmode:=acHidden
End Sub
frmLogOff runs in the background and allows me to gently log users off. Of
course, a savvy user can bypass this with the shift key at startup. Is there
any way around this?
Many thanx,
Rip

Signature
Ripper T Smith
rippertsmith<nospam>@comcast.net
Klatuu - 23 Aug 2005 22:21 GMT
See AllowBypassKey Property in VBA Editor help. It give detailed info on how
to do this.
> I have a form set to load at startup that has code in its Load event thus:
>
[quoted text clipped - 10 lines]
>
> Rip