A
annie techwriter
I have a form that is driving me crazy!
I used the expression
=IIf([Status]="Closed",Date()," ")
as a control source in a form. So the [DateClosed] populates with today's
date when the [Status] is set to 'Closed'. It works fine, except the date
changes every day.
For instance, I closed an issue yesterday and the Sept 17 date displayed
correctly. When I opened the form today, the date on the record I closed
yesterday displayed today's date. I reset my computer date to sometime in the
future and the [DateClosed] changed to that date.
I have a [DateOpened] that uses the simple expression "=Date()" as the
default value. Today's date displays when you open the record, and does not
change on subsequent days.
Any ideas? Do I need something in my [DateClosed] expression to keep it from
changing?
Thanks for any input or ideas.
I used the expression
=IIf([Status]="Closed",Date()," ")
as a control source in a form. So the [DateClosed] populates with today's
date when the [Status] is set to 'Closed'. It works fine, except the date
changes every day.
For instance, I closed an issue yesterday and the Sept 17 date displayed
correctly. When I opened the form today, the date on the record I closed
yesterday displayed today's date. I reset my computer date to sometime in the
future and the [DateClosed] changed to that date.
I have a [DateOpened] that uses the simple expression "=Date()" as the
default value. Today's date displays when you open the record, and does not
change on subsequent days.
Any ideas? Do I need something in my [DateClosed] expression to keep it from
changing?
Thanks for any input or ideas.