Hi
I have a form which has i textbox called date and i wondered if there is a way of getting it to put the date of that day to be put in automaticlly.
For my login form i have the code below
Private Sub Command9_Click()
If Me.ServerName = Me.txtServerName And Me.Passcode = Me.txtPasscode Then
DoCmd.Close
DoCmd.OpenForm "frmMainMenu"
Else
MsgBox "Password incorrect or required"
End If
End Sub
How can i get it to stay logged in and remember which account it is logged in to?
Thanks
I have a form which has i textbox called date and i wondered if there is a way of getting it to put the date of that day to be put in automaticlly.
For my login form i have the code below
Private Sub Command9_Click()
If Me.ServerName = Me.txtServerName And Me.Passcode = Me.txtPasscode Then
DoCmd.Close
DoCmd.OpenForm "frmMainMenu"
Else
MsgBox "Password incorrect or required"
End If
End Sub
How can i get it to stay logged in and remember which account it is logged in to?
Thanks