G
Guest
I can not get the date to appear in a field automatically after a certain
event occurs. Here is the code:
AfterUpdate for strRequestStatus Field
If Me.strRequestStatus = "Closed" Then
dteDatedClosed = Date
End If
I have tried on lost focus,
I have tried using Date(), have tried setiing the date to short date,or
formatting to mm/dd/yyyy.
At one point I clicked in the field the date showed up,but went away when I
saved the form.
This is the same code I used in another database using Now() instead with no
problem.
event occurs. Here is the code:
AfterUpdate for strRequestStatus Field
If Me.strRequestStatus = "Closed" Then
dteDatedClosed = Date
End If
I have tried on lost focus,
I have tried using Date(), have tried setiing the date to short date,or
formatting to mm/dd/yyyy.
At one point I clicked in the field the date showed up,but went away when I
saved the form.
This is the same code I used in another database using Now() instead with no
problem.