D
Doctor
I need to put a save command inside an If Not statement. I've tried a lot of
things but can't get it to work. The one here in my original code is old.
What should it look like.
Public Sub cmdSave_Click()
' Put focus on "key" control
Me.ContactFirstName.SetFocus
If Not SaveIt() Then Exit Sub
DoCmd.Close acForm, Me.Name
End Sub
things but can't get it to work. The one here in my original code is old.
What should it look like.
Public Sub cmdSave_Click()
' Put focus on "key" control
Me.ContactFirstName.SetFocus
If Not SaveIt() Then Exit Sub
DoCmd.Close acForm, Me.Name
End Sub