J
Julia B
Hi
I've got a problem on one of my forms. I want to work out what the current
month is so I'm doing this:
Dim currentmonth as Integer
currentmonth = Month(Date)
This was originally causing a datatype mismatch error. I discovered it was
because I foolishly had a field called Month in the underlying table and
Access was trying to reconcile with that. I've renamed the field, and now I
get the error "Access can't find the field 'Month' referred to in your
expression".
Duh, of course it can't find the field! It's a function..... how do I get
over this? Any ideas?
Thanks
Julia
I've got a problem on one of my forms. I want to work out what the current
month is so I'm doing this:
Dim currentmonth as Integer
currentmonth = Month(Date)
This was originally causing a datatype mismatch error. I discovered it was
because I foolishly had a field called Month in the underlying table and
Access was trying to reconcile with that. I've renamed the field, and now I
get the error "Access can't find the field 'Month' referred to in your
expression".
Duh, of course it can't find the field! It's a function..... how do I get
over this? Any ideas?
Thanks
Julia