text box tied to check box

  • Thread starter Thread starter shinton
  • Start date Start date
S

shinton

Hello all,
I would appreciate a little help. I have a sub-form with a
check box titled "Corrected", when the user checks this box I would
like to have the text box I have created "Date Corrected" autopopulate
with the current date and time. Thanks in Advance!
 
I would appreciate a little help. I have a sub-form with a
check box titled "Corrected", when the user checks this box I would
like to have the text box I have created "Date Corrected" autopopulate
with the current date and time.


The standard approach is to set the date in the check box's
AfterUpdate event procedure:

If Me.Corrected = True Then
Me.[Date Corrected] = Now
Else
Me.[Date Corrected] = Null
End If
 
Back
Top