I want to have a box pull up that asks the user if they are sure you want to add new record. If no then the update is canceled. Here is my code on the before update currently:
Code:
Private Sub Form_BeforeUpdate(Cancel As Integer)
If Len(Me.GenericCode & vbNullString) = 0 Then
MsgBox "Enter a Product Code"
Cancel = True
Me.GenericCode.SetFocus
End If
End Sub