اليك الحل بطريقتين
الطريقة الاولى من خلال حقول النموذج
Dim ctl As Control
For Each ctl In Me.Controls
If ctl.ControlType = acComboBox Or ctl.ControlType = acTextBox Then
If IsNull(ctl.Value) Or ctl.Value = 0 Then
Undo
MsgBox "لا يمكنك ترك احد الحقول فارغا"
Exit Sub
End If
End If
Next ctl
والثانية من خلال حقول الجدول
Select Case DataErr
Case 2113
End Select
Response = acDataErrContinue
MsgBox "لطفا لا يمكنك ترك احد الحقول خاليا", vbOKOnly, "تنبيه!!"
Exit Sub
Downloads.rar