I have a form Access 2003 and want to validate the dates. Field Name is AdmissionDate and BirthDate. Its not working Please help
Private Sub BirthDate_BeforeUpdate(Cancel As Integer)
If dateofadmn <= BirthDate Then
MsgBox "How Date of Admission is greater than birth date"
Cancel = ture
End If
End Sub