datestamp

  • Thread starter -00MichaelJordan
  • Start date
0

-00MichaelJordan

How can I make a datestamp on the records in a table when they are modified
or created? I am running Access 97? Thanks.
 
G

Guest

Hi

Create a new field in your table called DateStamp.

Insert this new field into your form.

Use the forms event OnCurrent

Me.DateStampt = Now()

Note this will alter the date stampt every time the form is activated. if
you want to keep a record of "each" time the form is used you will need
another table linked to your main table by the primary field used in the form.
 
R

RoyVidar

Wayne-I-M said:
Hi

Create a new field in your table called DateStamp.

Insert this new field into your form.

Use the forms event OnCurrent

Me.DateStampt = Now()

Note this will alter the date stampt every time the form is
activated. if you want to keep a record of "each" time the form is
used you will need another table linked to your main table by the
primary field used in the form.

Would it perhaps be better to use the before update event, in stead of
the on current event?

With the on current, it will be updated any time you browse the record,
while with the before update, it will be updatet only when created or
edited.
 
G

Guest

Yep - you're most likely right the before update event would be a better idea.
when they are modified or created
was what was asked. I should read the post more carefully.

It my age - eyes are going V quick. LoL
 

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