R roccoau Registered User. Local time Tomorrow, 06:06 Joined Sep 1, 2006 Messages 56 Nov 3, 2006 #1 Hi, I would like to insert the currrent time in a feild on my form once a checkbox is ticked. Can anyone please help me with this. Tks Rgds Roc
Hi, I would like to insert the currrent time in a feild on my form once a checkbox is ticked. Can anyone please help me with this. Tks Rgds Roc
gemma-the-husky Super Moderator Staff member Local time Today, 19:36 Joined Sep 12, 2006 Messages 16,072 Nov 3, 2006 #2 targetfield = now 'format the field as a time type to suit yourself
R roccoau Registered User. Local time Tomorrow, 06:06 Joined Sep 1, 2006 Messages 56 Nov 3, 2006 #3 thanks Gemma works great
C cross5900 Blarg! Local time Today, 13:36 Joined Mar 24, 2006 Messages 92 Nov 3, 2006 #4 You can also do a quick OnClick vba code to do this as well. If chkbox.value = true then textbox.value = date() 'or whatever time function you need to use like Now() or etc. else textbox.value = "" 'to reset the time if you unclick end if
You can also do a quick OnClick vba code to do this as well. If chkbox.value = true then textbox.value = date() 'or whatever time function you need to use like Now() or etc. else textbox.value = "" 'to reset the time if you unclick end if