G
Guest
hello all
I have table Employee. in table have record Birthdate type Date/Tim
When i create a input form and i want to check value if user input the birthday smaller 18 the event will notice error
Private Sub Birthdate_AfterUpdate(
year18 = Year(Now()) - Year(birthday
'If year18 < 18 The
MsgBox "check input value!, vbOKOnly, Error
'End I
End Su
But program don't understant birthday variant
please help me fix
Thank
Hoavn
I have table Employee. in table have record Birthdate type Date/Tim
When i create a input form and i want to check value if user input the birthday smaller 18 the event will notice error
Private Sub Birthdate_AfterUpdate(
year18 = Year(Now()) - Year(birthday
'If year18 < 18 The
MsgBox "check input value!, vbOKOnly, Error
'End I
End Su
But program don't understant birthday variant
please help me fix
Thank
Hoavn