Apr 17, 2001 #1 Kindi Programmer Joined Jan 31, 2001 Messages 54 Location GB I have a date field in a form, and when a record is updated I wish the date field value to change to the date the record is updated. How do i do this? Thanks Kindi
I have a date field in a form, and when a record is updated I wish the date field value to change to the date the record is updated. How do i do this? Thanks Kindi
Apr 17, 2001 1 #2 LonnieJohnson Programmer Joined Apr 16, 2001 Messages 2,628 Location US In the form's BeforeUpdate event you should put a line of code that sends the current date to the text box in question. It would look like such: Private Sub Form_BeforeUpdate () MyField = Now() End Sub Hope this helps. lonniejohnson@kawvalley.org Upvote 0 Downvote
In the form's BeforeUpdate event you should put a line of code that sends the current date to the text box in question. It would look like such: Private Sub Form_BeforeUpdate () MyField = Now() End Sub Hope this helps. lonniejohnson@kawvalley.org