Thanks guys
I created a table called tbllogout with a yes/no, and then put in the ontimer for the main page this code...
Private Sub Form_Timer()
Dim rs As ADODB.Recordset
Set rs = New ADODB.Recordset
Dim strSQL As String
rs.Open "tblLogout", CurrentProject.Connection, adOpenKeyset...