I noticed that the LastUpdated property of defined table is the last update of INSERT query only.
When I do UPDATE, after that the LastUpdated isn't updated. Same goes to DELETE.
I thought the LastUpdated property "returns the date and time of the most recent change made to an object."
Why is the "recent change" only applies to INSERT? (not in UPDATE or DELETE)
Here's a sample code:
----------------------------------
Dim tdfTemp As TableDef
Dim db As DAO.Database
Set db = CurrentDb
With db
Set tdfTemp = .TableDefs!TableNameHere
End With
tdfTemp.LastUpdated <--- THIS ONE!
----------------------------------
I'm confused.
When I do UPDATE, after that the LastUpdated isn't updated. Same goes to DELETE.
I thought the LastUpdated property "returns the date and time of the most recent change made to an object."
Why is the "recent change" only applies to INSERT? (not in UPDATE or DELETE)
Here's a sample code:
----------------------------------
Dim tdfTemp As TableDef
Dim db As DAO.Database
Set db = CurrentDb
With db
Set tdfTemp = .TableDefs!TableNameHere
End With
tdfTemp.LastUpdated <--- THIS ONE!
----------------------------------
I'm confused.