M
Mark A. Sam
Hello,
In the following code,
If IsNull([txtYear]) Or [txtYear] = "" Then
[txtYear] = Year(Date)
Else
[txtYear] = [Year] + 1
End If
the expression Year(Date) gives me a type mismatch message when I place the
mouse pointer over the expression in the debug window.
When I execute ?Year(Date) in the immediate window, it returns 2005.
Date returns the date.
This doesn't make sense since Year() and Date() are public functions.
Thanks for any help.
Mark A.Sam
In the following code,
If IsNull([txtYear]) Or [txtYear] = "" Then
[txtYear] = Year(Date)
Else
[txtYear] = [Year] + 1
End If
the expression Year(Date) gives me a type mismatch message when I place the
mouse pointer over the expression in the debug window.
When I execute ?Year(Date) in the immediate window, it returns 2005.
Date returns the date.
This doesn't make sense since Year() and Date() are public functions.
Thanks for any help.
Mark A.Sam