title: Manually Restart a Countdown Timer on a Form in Access Database
body: <p>I have the following code to log off Access users automatically.</p>
  
  <p>Most work will be completed in 5 minutes or less, but I would like to add a manual reset button below the counter that will restart the timer if needed.</p>
  
  <p>I want to force the end user to manually start the timer over if needed.</p>
  
  <pre><code>Option Compare Database
  Dim TimeCount As Long
  
  Private Sub Form_Open(Cancel As Integer)
  
  Me.TimerInterval = 1000
  
  End Sub
  
  Private Sub Form_Timer()
  TimeCount = TimeCount + 1
  Me.txtCounter.Value = 1200 - TimeCount
  If TimeCount = 1201 Then
      DoCmd.Quit acQuitSaveAll
  End If
  End Sub
  </code></pre>
  
  <p>How can I accomplish this task?</p>