M
Mark A. Sam
In the following code,
If IsNull([Year]) Or [Year] = "" Then
[Year] = Year(Date)
Else
[Year] = [Year] + 1
End If
I get Runtime Error 13, Type Mismatch, which refers to the function,
Year(Date)
Executing this in the immediate window, ?Year(Date) returns 2005.
I don't know what could be causing this. I ruled out the field name [Year]
as being the problem. Thanks for any help.
God Bless,
Mark A. Sam
If IsNull([Year]) Or [Year] = "" Then
[Year] = Year(Date)
Else
[Year] = [Year] + 1
End If
I get Runtime Error 13, Type Mismatch, which refers to the function,
Year(Date)
Executing this in the immediate window, ?Year(Date) returns 2005.
I don't know what could be causing this. I ruled out the field name [Year]
as being the problem. Thanks for any help.
God Bless,
Mark A. Sam