JS-Q1: Hard coding date

J

Jack Sheet

Hi all

I want to hard code a date/time stamp in a field dedicated for that
information within a record, that shows the system date/time at point of
creation of the record (presumably the point of initial saving of the
record). The content of this field should never subsequently change.

In a separate field I want to hard code a date/time stamp of the latest
occasion when any field in the record has been modified (this will initially
be set to the same date/time as the creation date/time field as above).

This sounds like a standard sort of thing that is done regularly. Any help
fully appreciated, thanks.

(PS ignore the JS-Q1 in the subject line, that is just so that I can find
the thread easily)
 
R

Rick B

Do a search. The topic "timestamping records" is discussed all the time. I
have seen several posts just in the last few days.

Use the "default value" for the added date/time.
Use a code in the "before update" event to store the changed timestamp.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top