G
Goirish1904
I am having a serious problem with this expression that I wrote in a form in
Microsoft Access. What I am trying to do is simple. I have a text box in
the form. I also have a separate check box in the form. The check box is a
yes/no field from the table I am using for my form. What I want to do is
when I click on the check box, I want the date of when I check the check box
to show up in the text box. I have used the expression: =IIf([Check
box]="-1",Date (),"").
This expression works and it gives me the date when the check box is
checked. However, the date always changes as the next day comes. For
example, if I click on the check box on Jan 1st, the text box shows Jan 1st.
If I save the database and come back the next day and open the database, the
date shows Jan 2nd.
I need help on this because this will save me so much time with documenting
data with dates.
Please respond soon. Thank you very much
Microsoft Access. What I am trying to do is simple. I have a text box in
the form. I also have a separate check box in the form. The check box is a
yes/no field from the table I am using for my form. What I want to do is
when I click on the check box, I want the date of when I check the check box
to show up in the text box. I have used the expression: =IIf([Check
box]="-1",Date (),"").
This expression works and it gives me the date when the check box is
checked. However, the date always changes as the next day comes. For
example, if I click on the check box on Jan 1st, the text box shows Jan 1st.
If I save the database and come back the next day and open the database, the
date shows Jan 2nd.
I need help on this because this will save me so much time with documenting
data with dates.
Please respond soon. Thank you very much