E
EMILYTAN via AccessMonster.com
Below is my code. It simply can't run.
Private Sub cboDateExpired_BeforeUpdate(Cancel As Integer)
Dim date1, date2 As Date
date1 = Me!DateExpired
date2 = Me!DateLoan
If (date1 < date2) Then
MsgBox "The Date Expired is in wrong value!"
End If
End Sub
Private Sub cboDateExpired_BeforeUpdate(Cancel As Integer)
Dim date1, date2 As Date
date1 = Me!DateExpired
date2 = Me!DateLoan
If (date1 < date2) Then
MsgBox "The Date Expired is in wrong value!"
End If
End Sub