PC Review


Reply
Thread Tools Rate Thread

Date Created or Date Modified Record Stamp

 
 
=?Utf-8?B?Um9zZQ==?=
Guest
Posts: n/a
 
      13th May 2007
Is there a way to automatically generate a date create or date modified stamp
in the table.
--
Rose
 
Reply With Quote
 
 
 
 
Joan Wild
Guest
Posts: n/a
 
      13th May 2007
At the table level, you are somewhat limited. For 'date created' you can add a field called DateCreated set to date/time datatype and a default value of
Date() (or Now() if you'd like the time recorded with the date). For the date modified though, you need to do this in a form (and also restrict users to modifying data only at the form level). Include the DateModified field in the recordsource for your form, and in the BeforeUpdate of the Form put the following:
Me!DateModified = Date()

(again you can use Now() instead if you want to include the time.

--
Joan Wild
Microsoft Access MVP
"Rose" <(E-Mail Removed)> wrote in message news:703EF5CC-F5DB-4175-92CC-(E-Mail Removed)...
> Is there a way to automatically generate a date create or date modified stamp
> in the table.
> --
> Rose

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I access date created and date modified for Contacts =?Utf-8?B?cmpiYXJuaGFydA==?= Microsoft Outlook Contacts 1 6th Aug 2007 01:09 PM
Date and time stamp a field (not record) when it is modified =?Utf-8?B?S0I=?= Microsoft Access 2 18th May 2005 06:01 AM
Windows Explorer Date Created and Date Modified iltf124 no spam @hotmail.com Windows XP Help 1 3rd Apr 2004 05:31 PM
Windows Explorer - Date Created and Date Modified Matching iltf124 no spam @hotmail.com Windows XP Help 0 4th Feb 2004 04:20 PM
Date Created, Date Modified Changed to Date CD was burned Mark Windows XP General 0 25th Sep 2003 10:03 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:15 AM.