Time Stamp on a record

  • Thread starter Thread starter mate
  • Start date Start date
M

mate

I have a subform within a form. When a user creates a new
record in the subform, I would like to have the date/time
automatically stamped on that record at the time of
creation. I've tried doing this, but whenever i access
that record at a later time, it shows up with the current
time instead of when it was created. Any help would be
great! thanks. mate
 
Try setting the Before Update event of the sub form:

If IsNull([DateField]) then
[DateField] = Now
End If
 

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

Similar Threads

Time Stamp 2
Inserting Date/Time stamps 6
Time Stamp Issue 10
Going to first record 0
Adding Record with Time Stamp 1
Time Stamp 3
Subform to Main Form Record Problem 1
date stamp 1

Back
Top