B
Bonnie
Hi there! Using A02 in XP. Trying to limit folks to keep
dates within a minimum. On my BeforeUpdate event I have:
If Me.DateDep > Now() + 4 Then
MsgBox "You cannot enter a deposit date greater than 4
days from today. Please check your data."
DoCmd.CancelEvent
Exit Sub
End If
I'm getting a "The value you entered isn't valid for this
field..." Should I use Date() rather than Now()?
My main goal is to limit dates to a few before and or a
few after Now() to avoid data entry errors for the year
2024 or 1004. Any advice where or what is best to use for
this?
Thanks in advance for any help or advice! I LUV U GUYS!!!
dates within a minimum. On my BeforeUpdate event I have:
If Me.DateDep > Now() + 4 Then
MsgBox "You cannot enter a deposit date greater than 4
days from today. Please check your data."
DoCmd.CancelEvent
Exit Sub
End If
I'm getting a "The value you entered isn't valid for this
field..." Should I use Date() rather than Now()?
My main goal is to limit dates to a few before and or a
few after Now() to avoid data entry errors for the year
2024 or 1004. Any advice where or what is best to use for
this?
Thanks in advance for any help or advice! I LUV U GUYS!!!