K
kateri4482
I am trying to get a field on a form to show the current date and time when
it is clicked. I can get it where the current date gets shown OnClick (using
a macro), but how can I get it to show the date AND time? I am using the
"general date" in the table for the date field. So I guess I am asking how
to either change the macro so it allows date and time when I click on it (it
currently does a SetValue with the expression Date()), or how to write the
code so that it gives me the date and the time. Thanks.
it is clicked. I can get it where the current date gets shown OnClick (using
a macro), but how can I get it to show the date AND time? I am using the
"general date" in the table for the date field. So I guess I am asking how
to either change the macro so it allows date and time when I click on it (it
currently does a SetValue with the expression Date()), or how to write the
code so that it gives me the date and the time. Thanks.