I have 2 fields datein and duedate. Duedate must be 3 days or more from the datein. For example if today is 9/23/04 the due date must be 9/26/04 or later. I added some code to the before update on the duedate field
Private Sub Form_Error(DataErr As Integer, Response As Integer)
Response = acDataErrContinue
End If
End Sub
The message worked but user were still back dating the duedate. So AT THE table level, at duedate I made the default value =DateAdd("d",3,Date()) and the validition rule: <=3
Now when the user tries to change the default date on the form to say 10/27/04, the user is unable to move out of the duedate field and the database ends up locking up. Is the validation rule wrong? Is there a sample db out there (I'm using 97) w/examples of how to use date validation at the table level? Help would be greatly appreciated.
Private Sub Form_Error(DataErr As Integer, Response As Integer)
Response = acDataErrContinue
End If
End Sub
The message worked but user were still back dating the duedate. So AT THE table level, at duedate I made the default value =DateAdd("d",3,Date()) and the validition rule: <=3
Now when the user tries to change the default date on the form to say 10/27/04, the user is unable to move out of the duedate field and the database ends up locking up. Is the validation rule wrong? Is there a sample db out there (I'm using 97) w/examples of how to use date validation at the table level? Help would be greatly appreciated.