I do no of a way to permanently remove or change the date created. The date is control by the OS. When you compact the databses, it will change tothe current date/time.
If we understand what you wanting to do, we may be able to help you come up with a solution. PLease explain in more detail what you are doing.
What do you want to change the data created to be?
A different time on the same day or a different time and date. It doesn't really matter what time and day they are changed to...it just needs to be different than what they are now...
For Example, I have a file I am using that I created previously and I need to reuse. I do not want the same created date listed on the file when I reuse it. When I view Queries I have ran in access 2007 (under the "view by details" option) it lists the created date and the modified date. I would like for the created date or time to be changed.
A different time on the same day or a different time and date. It doesn't really matter what time and day they are changed to...it just needs to be different than what they are now...
For Example, I have a file I am using that I created previously and I need to reuse. I do not want the same created date listed on the file when I reuse it. When I view Queries I have ran in access 2007 (under the "view by details" option) it lists the created date and the modified date. I would like for the created date or time to be changed.
Run this code for a list of all the querydefs and their creation dates in the Immediate window.
Code:
Dim db As Database
Dim m As Integer
Dim n As Integer
Set db = Application.CurrentDb
m = db.QueryDefs.Count
For n = 0 To m - 1
Debug.Print db.QueryDefs(n).Name; " Created "; db.QueryDefs(n).DateCreated
Next n
Perhaps it is possible to extract a tabledef or querydef and then save it. However the creation date is part of the definition of a stored object so the copy may also carry that date.
The only way I can think of to definitely redate these objects would be to recreate them.
Read every property using VBA and regenerate them from scratch using this information.
Use loops but make sure nothing is missed.
Could be done but sounds horrible. I would have to really want to change that date for a good reason.
No end user is ever going to see them anyway.
Incidentally the property for their saved date is .LastUpdated
You can manage the version of an object by testing these dates against a table of current release dates.