- Local time
- Today, 18:08
- Joined
- Feb 19, 2002
- Messages
- 43,408
In the Navigation Pain (sic), if you change view by to Details, you can see the date created and the date modified. I want to find this date so I can use it to automatically control my backup procedure rather than having it prompt me.
I've tried the MSysObjects table since that is the easiest method but the date modified seems to be connected somehow to DAO (probably because Access objects live in a Jet/ACE database) So, if what you updated didn't have any DAO involved, then the date in MSysObjects doesn't get updated as you would expect.
Since MS tells us to not rely on the MSys objects anyway, I created a VBA procedure that reads the containers and puts them into a table. This method is not desirable since it causes bloat so if I were going to use it, I would probably create an array and sort the array but I didn't get that far since the collections seem to have the same flaw as the MSysObjects table.
So, the question becomes, how do I get to the dates shown by the Nav Pane?
I created a sample for you to examine so you can see the problem more easily. The database has only a few objects. The problem is persistent for unbound objects like frmRun. Follow the directions on the opening form to see it. But the error occurs in other situations that are transient and so hard to document.
I've tried the MSysObjects table since that is the easiest method but the date modified seems to be connected somehow to DAO (probably because Access objects live in a Jet/ACE database) So, if what you updated didn't have any DAO involved, then the date in MSysObjects doesn't get updated as you would expect.
Since MS tells us to not rely on the MSys objects anyway, I created a VBA procedure that reads the containers and puts them into a table. This method is not desirable since it causes bloat so if I were going to use it, I would probably create an array and sort the array but I didn't get that far since the collections seem to have the same flaw as the MSysObjects table.
So, the question becomes, how do I get to the dates shown by the Nav Pane?
I created a sample for you to examine so you can see the problem more easily. The database has only a few objects. The problem is persistent for unbound objects like frmRun. Follow the directions on the opening form to see it. But the error occurs in other situations that are transient and so hard to document.