وعليكم السلام
استبدله بهذا
Private Sub Cus_Mob_BeforeUpdate(Cancel As Integer)
Dim phone As Integer
phone = DCount("Cus_Mob", "HA_Cus_D", "[Cus_Mob] = Forms![Cus_N_C]![HA_Cus]![Cus_Mob]")
If phone > 0 Then
If MsgBox(" هذا الموبايل مكرر لللاعب رقم" & DLookup("[Cus_Num_D]", "HA_Cus_D", "[Cus_Mob] = Forms![Cus_N_C]![HA_Cus]![Cus_Mob]"), vbInformation + vbMsgBoxRight, "رقم مكرر") = vbOK Then
Cancel = -1
Undo
End If
End If
End Sub