Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date Stamp for when record is created

Status
Not open for further replies.

davidrsutton

Programmer
Oct 6, 2004
94
GB
Hi, here is a nice and easy one for you guys (hopefully!)

I have a field called 'CreationDate' in a table called 'tblIssues'. I want the 'CreationDate' field to contain the date that that particular record was created on and I want to lock the field so that it cannot be edited/deleted.

I can make it so that the user hits a button on a form and it populates the 'CreationDate' field but I would ideally like this automated so that it happens when the record is created.

Many thanks in advance,

Dave
 
Have you looked at setting the default value in the table to Now() or Date()?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top