Question : Update field value after update check box

I want to insert today's date into field "AdminCloseDate" after the user checks a checkbox that is linked to field "AdminClose".  If the user checks the box and then changes his mind and unchecks it, I do not want the date to be populated.  Thanks.

Answer : Update field value after update check box

Put the following code into the checkbox's .Click event.

Select Case me.Checkbox.Clicked
    Case True
        Me.AdminCluseDate = Date()
    Case False
        Me.AdminCloseDate = Null
End Select

-Jim
Random Solutions  
 
programming4us programming4us