Hi, All.
In my Access 2007 task-tracking database I have a checkbox called “Done”, indicating that the task is done and I have a field called “Date_Done”, which records the date on which the task was done. The purpose of the code is to automatically check the “Done” checkbox and fill in the date when one of the statuses listed in the code, below, is selected in the “Status” field (combo box). The following code runs on the “On Change” event of the “Status” combo box. The date fills automatically but the checkbox doesn’t check itself automatically and I can’t figure out why:
If Me.Status = "Completed" Or Me.Status = "Released" Or Me.Status = "Cancelled" Then Me.Done = "Yes" Me.Date_Done = Date Else End If
Any help is appreciated.
Thanks,
JoeK