I am trying to set up a form in db with items that have to be completed and when completed they check a "check box" and then I would like that to show a date/time in a text box. I have tried to use macros to do this with no luck...please help
Using checkbox to show date/time...please help
Collapse
X
-
Tags: None
-
hi flyboy,
Are you trying to write date and time at the moment check box is clicked?
you can do that in after update event of the checkbox.
write a code there similar to:
Code:If Me![CheckBoxName]=True Then Me![TextBoxName] = Date End If
-
Thanks for you reply, I finally figured it out by another method, this is what I used;
If Me.c1a Then
Me.vp1a = Now
Else
Me.vp1a = Null
End If
ThanksComment
-
-
Your duplicate posting of this question/problem has been deleted! Please refrain from this prohibited behavior in the future.
From FAQs
Do Not Double Post Your Questions
Double posting is where you start a thread on a topic and then for some reason start another thread on exactly the same topic in the same forum. Please do not do this because
- It makes it very hard for people to answer you especially if there are answers happening in all the threads you have started because they have to read 2 or more threads in order to see what has already been said.
- It swamps the forum with your problem resulting in less attention for the other threads.
If you feel for some reason that you post has been overlooked (for instance it hasn't had any replies) please do not repost the question. Post a message to the thread you started, saying simply “bump” and this will move it back to the top of the thread list for the forum.
Thank you for your attention in this matter.
Linq ;0)>
ModeratorComment
Comment