Jan 27, 2005 #1 troix Technical User Jan 20, 2004 46 US Okay, this should be easy. I have a date field. I want it, when clicked, to automatically enter todays date. Thanks
Okay, this should be easy. I have a date field. I want it, when clicked, to automatically enter todays date. Thanks
Jan 27, 2005 #2 ZPBJ Technical User Jan 20, 2005 37 US Set the field to =Date() __________________________________ Remember that time when I took the box? - Peter Upvote 0 Downvote
Set the field to =Date() __________________________________ Remember that time when I took the box? - Peter
Jan 27, 2005 #3 sleonard1432 Programmer Jan 24, 2005 14 US In the "On Click" event for the Text Box or whatever your using, add the following code. Private Sub fieldname_Click() fieldname.value = Date End Sub You can also set the field to =Date(), however I have always been a proponent for using Hard Code instead of the properties sheet. See Ya Upvote 0 Downvote
In the "On Click" event for the Text Box or whatever your using, add the following code. Private Sub fieldname_Click() fieldname.value = Date End Sub You can also set the field to =Date(), however I have always been a proponent for using Hard Code instead of the properties sheet. See Ya