B
Bob Quintal
if the form is bound to the table, put the following code in theI am trying to get a Checkbox on a form to write todays date
into a field on a table when checked.
It would also be nice if when the checkbox is unchecked the
date is removed
Thanks
checkbox's afterUpdate event
if me.chkDate.value then
me.[field's name] = date ' or now() for date/time
else
me.[field's name] = null
end if
change chkDate to the name of your textbox and [field's name] to
the field's name.