A Combobox with a single item is a bit of overkill, wouldn't you say?
Also, what happens if the user makes a mistake? With a Combobox, you cannot simply go back in and select 'nothing!' The user would have to go in and physically delete the 'done' or you'd have to code something to set it back to Null, and do the same thing for the Textbox.
Far better, for this kind of thing, to use a Checkbox named ckbDone and have its Label say Done. Then you could use
Code:
Private Sub ckbDone_AfterUpdate()
If Me.ckbDone = -1 Then
Me.TextboxName = Date()
Else
Me.TextboxName = Null
End If
End Sub
Linq ;0)>
The problem with making anything foolproof...is that fools are so darn ingenious!
All posts/responses based on Access 2003/2007