friskee
asked on
MS Access 2003 and 2007 Add a checkbox then automatically update the date field with the current date
Need to know how to add a checkbox, and when the check box is checked, insert current date into the date
field box. How do I do the statement in the expression builder?
field box. How do I do the statement in the expression builder?
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
This is fairly standard code.
I can't see a reason why it might not work.
Please Post a sample of this database.
JeffCoachman
I can't see a reason why it might not work.
Please Post a sample of this database.
JeffCoachman
ASKER
I tried it again. IT WORKS- thank you that answer was straight forward and simple. increased points
come back and answer me anytime-
come back and answer me anytime-
ASKER
Simple fast response- Wonderful!
;-)
ASKER
Sub ChkSold_AfterUpdate()
If Me.ChkSold = True Then
Me.txtSoldDate = Date
End If
End Sub
txtSoldDate control source is the sale date field in my sale table
txtSoldDate is the name
What else could I be doing wrong?