E
emailgadjet
Access 2000 is driving me nuts.
I'm trying to add the month to a field on a form using
myMonth = Month(Me.Problem_Date) or myMonth = Month(Date) or myMonth =
Month(now())
None of the above work. I always get a type mismatch error.
myMonth is dimensioned as a string and I put the value into a textbox
later, or I would if I could get it to work.
I've used a simlar process to get the Day:-
myDay = Weekday(Now(), 2)
That works great.
Anyone any ideas?
Cheers,
Phil
I'm trying to add the month to a field on a form using
myMonth = Month(Me.Problem_Date) or myMonth = Month(Date) or myMonth =
Month(now())
None of the above work. I always get a type mismatch error.
myMonth is dimensioned as a string and I put the value into a textbox
later, or I would if I could get it to work.
I've used a simlar process to get the Day:-
myDay = Weekday(Now(), 2)
That works great.
Anyone any ideas?
Cheers,
Phil