Try this code instead:
Private Sub Command0_Click()
Dim stPassword As String
stPassword = InputBox("Enter Your Password")
If stPassword = "areaa" Then
Me.Visible = False
DoCmd.OpenForm "manager a tracking", , , , , acDialog
Me.Visible = True
Else
MsgBox "You Entered the wrong password"
End If
End Sub
>I have this code on an onclick event of a command button to open a form:
>Private Sub Command0_Click()
[quoted text clipped - 12 lines]
>acnormal the correct command to allow the managers to edit their tracking
>forms and save on exit?

Signature
RuralGuy (RG for short) aka Allan Bunch MS Access MVP - acXP WinXP Pro
Please post back to this forum so all may benefit.