I have a manual process where I copy an mdb file from one directory to another and then change the file name. Using this method preserved the last modified date.
I added code to a button on a form within the mdb file to be copied so that it would do the copy and rename for me, however, since access changes the modified date once the file is open, it shows the current date and time rather than the previous date and time. It's probably not a big deal, but I would rather see the modified date as last week rather than today, so that I know that this was really from last week rather than that I needed to open/use the file today. In the renaming process, I append a date, so I can go by that date, but sometimes, I may need to go back to that earlier version and if it shows today's date in the modified, then I wouldn't necessarily know if in fact it was used today or last week.
The other reason I decided to put the procedure in the file is so when someone else has to use the mdb, I don't have to explain to them to copy and rename the file all they need to do is click the button.
Any ideas on preserving the modified date?
I added code to a button on a form within the mdb file to be copied so that it would do the copy and rename for me, however, since access changes the modified date once the file is open, it shows the current date and time rather than the previous date and time. It's probably not a big deal, but I would rather see the modified date as last week rather than today, so that I know that this was really from last week rather than that I needed to open/use the file today. In the renaming process, I append a date, so I can go by that date, but sometimes, I may need to go back to that earlier version and if it shows today's date in the modified, then I wouldn't necessarily know if in fact it was used today or last week.
The other reason I decided to put the procedure in the file is so when someone else has to use the mdb, I don't have to explain to them to copy and rename the file all they need to do is click the button.
Any ideas on preserving the modified date?