Results 1 to 5 of 5
  1. #1
    Lou_Reed is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2015
    Posts
    1,664

    Time and Date on MS Access 2010 files

    When I take my MS Access 2010 application and open it and make changes and do not save the changes it seems that when I close it leaves the current date
    and time on the file, not the date the MS Access files had before I opened it. This just seems wrong. I want to know the file time and date of the latest since changes were made
    and while I made changes I clearly did not save them so the original files should not have had its times and date changed.

    I know this may seem to be a trivial matter, but I am concerned because I do not believe MS applications did that in the past.

    Any help on this appreciated. Thanks in advance.



    Respectfully,

    Lou Reed

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    I checked and my ac2002 (XP) does the same thing.

  3. #3
    Micron is online now Very Inert Person
    Windows 7 32bit Access 2007
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,424
    For Access files, this has been the norm for as long as I can remember. I have always thought this was stupid, so depending on the situation, I use one or more of the following tactics:
    - for development work, make the date part of the file name, or
    - make the date part of the folder name, and in either of these cases, just move files to my 2Bdeleted folder when they are a few versions old
    - use the db properties dialog to add version notes, including the last revised date and/or version ID
    What I've never bothered to do is
    - create a copy of a db, open that, then delete it and leave the Windows file stamp untouched in the original, or
    - in Windows Explorer (not IE), see if there are any date fields you can add to the file attributes view that suit your purpose. For this, right click on an attribute header, such as Name, and choose More... to try out additional attribute fields. Personally, I find some of these attributes to be unreliable as far as accuracy is concerned.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  4. #4
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,938
    I think you will find that although you don't save changes, it doesn't mean there are no changes to the file. You will find the same thing can happen in excel (and probably word) - sometimes the filedate is updated, sometimes not - if you go into excel, root around a bit then close, you are still prompted to save when you exit the file. Access does not provide this option, it prompts for each object.

    If you want to open the file and retain the original date, you have to open it as read only.

  5. #5
    Micron is online now Very Inert Person
    Windows 7 32bit Access 2007
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,424
    if you go into excel, root around a bit then close, you are still prompted to save when you exit the file.
    It's been my experience that a workbook with internal or external data links, or certain types of formulae (certainly any cell that uses Now or Date) constitutes an update and you will get prompted without touching anything. As for Access, I never bothered to try to figure out what db property or file attribute causes this. It could very well be related to the OS and not Access at all. I didn't know that you could prevent this by opening a db as read only, but since virtually every db I created had some sort of opening code (such as a log in) that would not be possible. As long as that condition wasn't a factor, I guess you could, although you wouldn't be able to run anything that caused a change.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 4
    Last Post: 05-04-2016, 12:50 AM
  2. ? on Date AND Time picker for 2010
    By eliotchs in forum Access
    Replies: 1
    Last Post: 08-04-2014, 12:15 PM
  3. Access 2010-runing old files
    By gg80 in forum Access
    Replies: 4
    Last Post: 01-09-2014, 09:57 AM
  4. Replies: 4
    Last Post: 09-30-2013, 05:29 AM
  5. Replies: 1
    Last Post: 02-28-2012, 09:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums