event procedure

  • Thread starter Thread starter Lauren B.
  • Start date Start date
L

Lauren B.

I need to write an event procedure to accomplish the following task:

When Checkbox 1 is clicked, today's date appears in Textbox 1.

Thank you for your assistance.

*Lauren
 
Lauren said:
I need to write an event procedure to accomplish the following task:

When Checkbox 1 is clicked, today's date appears in Textbox 1.

Thank you for your assistance.

*Lauren

In the AfterUpdtae event of the CheckBox...

Me![Textbox 1] = Date()
 
If you want a date to appear if the box is checked and to disappear when the
box is cleared, something like this is the check box's After Update event:
If Me.Checkbox1 = -1 Then
Me.Textbox1 = Date()
Else: Me.Textbox1 = ""
End If
 
Back
Top