can anyone in the world thell me why this doesn't work???
Dim temp As String
temp = CStr(Year(Now()))
I get type mismatch error. why??
i created new form and tried it there... and it works.. but when i plug it into the form where i need it i get an error.
i'm just trying to extract current year and convert it to string.
Dim temp As String
temp = CStr(Year(Now()))
I get type mismatch error. why??
i created new form and tried it there... and it works.. but when i plug it into the form where i need it i get an error.
i'm just trying to extract current year and convert it to string.