Private Sub Form_BeforeUpdate(Cancel As Integer)
If IsNull(Me.P_Odate) Then
MsgBox "الرجاء إدخال تاريخ البدء", vbExclamation, ""
Cancel = True
ElseIf IsNull(Me.exbict) Then
MsgBox "الرجاء إدخال تاريخ الانتهاء", vbExclamation, ""
Cancel = True
End If
End Sub