A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Microsoft Access Data Base (Auto Date/Time Stamp)



 
 
Thread Tools Display Modes
  #1  
Old March 10th, 2008, 10:42 PM posted to microsoft.public.access.tablesdbdesign
[email protected]
external usenet poster
 
Posts: 3
Default Microsoft Access Data Base (Auto Date/Time Stamp)

Hi,

I am working on an Access Data Base and need to incorporate an
auto date/time stamp but do not know how. I did locate the format
function that allows for that type of data to be formatted correctly
but do not know how to enter the formula for this; can you help?

Thanks,
Sandi

  #2  
Old March 11th, 2008, 01:20 AM posted to microsoft.public.access.tablesdbdesign
Allen Browne
external usenet poster
 
Posts: 11,706
Default Microsoft Access Data Base (Auto Date/Time Stamp)

To record when a new record was created, just add a Date/Time field to your
table, and set its Default Value property (in the lower pane of table
design) to:
=Now()

If you want to also record the last date/time when the record was updated,
you will need to use some code in the BeforeUpdate event procedure of the
form where the updates take place.

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

wrote in message
...

I am working on an Access Data Base and need to incorporate an
auto date/time stamp but do not know how. I did locate the format
function that allows for that type of data to be formatted correctly
but do not know how to enter the formula for this; can you help?

Thanks,
Sandi


 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:04 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.