MsgBox "Table was last modified on " & DLookUp("[DateUpdate]","MSysObjects","[Name] = 'YourTableNameHere'")
Be warned that the date will change when a design change has been made and also when the db has been compacted. The date is not updated when a record change has been made to the table.
can you set it to be the date any part of the database was last modified. in other words, i have several tables that data might or might not have been new data put in so to specify just one table in 'YourTableNameHere' as above wouldn't be ideal.
Here's the SQL for every object you'll need within your database:
SELECT MSysObjects.Name, MSysObjects.DateCreate, MSysObjects.DateUpdate, MSysObjects.Type
FROM MSysObjects
WHERE (((MSysObjects.Type) Not In (1,2,3,5,-32757)))
ORDER BY MSysObjects.Name;
can you set it to be the date any part of the database was last modified. in other words, i have several tables that data might or might not have been new data put in so to specify just one table in 'YourTableNameHere' as above wouldn't be ideal.
Be warned that the date will change when a design change has been made and also when the db has been compacted. The date is not updated when a record change has been made to the table.