Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form Question

Status
Not open for further replies.

SJJB

IS-IT--Management
Mar 2, 2001
6
US
I am creating a form and was wondering how I would do the following: I have two field, completed, which is a check box (yes/no) and completed date. I would like to be able to have the completed date automatcally fill itself when the yes/no check box is selected. How would I do this?
Thanks in advance
 
On AfterUpdate of Completed Field:
If me.NameOfCompletedCheckBox = -1 Then 'True
Me.NameOfCompletedDate = Now()
Else
Me.NameOfCompletedDate = Null
End if
Gord
ghubbell@total.net

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top