Private Sub Form_Error(DataErr As Integer, Response As Integer)
Const ERR_DUPLICATE_INDEX_VALUE = 3022
Dim strMsg As String
If DataErr = ERR_DUPLICATE_INDEX_VALUE Then
strMsg = "This record cannot be added to the database." & vbCrLf
strMsg = strMsg & "It would...