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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access Table Creation Date

Status
Not open for further replies.

kashew

Programmer
Feb 22, 2001
35
US
How do I get the date that a table in a database was created and/or modified?
 
You could right click on the table and view the properties. Or do you want it in code?
 

dim TableDateCreated, TableLastUpdated

TableDateCreated=CurrentDb.TableDefs("TableName").Properties("DateCreated").Value
TableLastUpdated=CurrentDb.TableDefs("TableName").Properties("LastUpdated").Value

Aivars
 
SELECT MSysObjects.DateCreate, MSysObjects.DateUpdate, MSysObjects.Name
FROM MSysObjects
WHERE (((MSysObjects.Name) Not Like "MSys*") AND ((MSysObjects.Type)=1));

MichaelRed
redmsp@erols.com

There is never time to do it right but there is always time to do it over
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top