J
JudyB
I have a form with a combo box named "Status" which has four options from
which the user can select - Open (default), Closed, Scheduled, and
Incomplete. I have another text box named "Date Closed" of which I would
like to have automatically filled with the current date if the user selects
the "Closed" option in the "Status" box. But, if the user selects one of the
other three options, I would like for the "Closed Date" text box to be left
null. Can anyone help me with the code. This is what I have thus far:
Private Sub Status_AfterUpdate()
Me.[DateClosed] = Date
End Sub
Thank you in advance for any help. I know that this is probably an easy
fix, but I am new to writing code. Thanks again!
which the user can select - Open (default), Closed, Scheduled, and
Incomplete. I have another text box named "Date Closed" of which I would
like to have automatically filled with the current date if the user selects
the "Closed" option in the "Status" box. But, if the user selects one of the
other three options, I would like for the "Closed Date" text box to be left
null. Can anyone help me with the code. This is what I have thus far:
Private Sub Status_AfterUpdate()
Me.[DateClosed] = Date
End Sub
Thank you in advance for any help. I know that this is probably an easy
fix, but I am new to writing code. Thanks again!