Hi. I'm new at this stuff, so please go easy.
I'm working with Access code created by a worker who left our company. I've narrowed down the problem. This line of code is the problem:
Me.Change_approved_date = Now()
Values when I hover over are as follows:
Me.Change_approved_date = Null
and
Now() = the correct date
In order for the code to run properly, the value of
Me.Change_approved_date has to take on the current date because it's then entered into a table and the code can then carry on. The date in the table remains "null" and then things don't work properly.
This worked fine prior to the new year. Since Jan. 1, 2009 it hasn't been working.
Why will that line of code no longer set Me.Change_approved_date to the correct current date?
Can anyone help point me in the right direction?
Thanks so much.
Erik
I'm working with Access code created by a worker who left our company. I've narrowed down the problem. This line of code is the problem:
Me.Change_approved_date = Now()
Values when I hover over are as follows:
Me.Change_approved_date = Null
and
Now() = the correct date
In order for the code to run properly, the value of
Me.Change_approved_date has to take on the current date because it's then entered into a table and the code can then carry on. The date in the table remains "null" and then things don't work properly.
This worked fine prior to the new year. Since Jan. 1, 2009 it hasn't been working.
Why will that line of code no longer set Me.Change_approved_date to the correct current date?
Can anyone help point me in the right direction?
Thanks so much.
Erik