Hi folks, need some help with validation code!!
The validation code will be embedded into a command button, when pressed the code will check a date field within a table, if it has tomorrows date it will not update the table!!
I need something like this I think??
Private Sub Command29_Click()
If [Mealdate] = tomorrows date cancel update query
Else
Run update query
End IF
The validation code will be embedded into a command button, when pressed the code will check a date field within a table, if it has tomorrows date it will not update the table!!
I need something like this I think??
Private Sub Command29_Click()
If [Mealdate] = tomorrows date cancel update query
Else
Run update query
End IF