Results 1 to 6 of 6

Thread: Why does just opening and closing a database modify it?
Thanks Thanks: 0 Likes Likes: 0

  1. #1
    Board Regular
    Join Date
    May 2008
    Posts
    337
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Why does just opening and closing a database modify it?

    Whenever I open a database, even one with just one table and nothing else, and then immediately close it without even opening the table, the file's timestamp becomes the current time. I don't have Compact on Close or Remove Personal Information, so what's being modified?

  2. #2
    Board Regular ranman256's Avatar
    Join Date
    Jun 2014
    Location
    Kentucky
    Posts
    1,775
    Post Thanks / Like
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Why does just opening and closing a database modify it?

    it doesnt change anything, but the date changes.

  3. #3
    Board Regular
    Join Date
    May 2008
    Posts
    337
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Why does just opening and closing a database modify it?

    I know nothing changes -- I've analyzed that ad nauseam. But why change the date? I have a system under version control (CVS) which includes MDB files, and obviously CVS reacts when the date changes. Why doesn't Word, Excel, PowerPoint, Publisher or Visio do that? Excel, in particular, understands file-sharing, but if two people simultaneously open a workbook and make no changes, still its date doesn't change.

    The only way I've found to prevent the date changing is to turn on the file's read-only attribute before opening it. Isn't there a better way?

  4. #4
    Board Regular
    Join Date
    Aug 2007
    Location
    NJ, USA
    Posts
    76
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Why does just opening and closing a database modify it?

    Is your database set to automatically open a form via AutoExec? Also, default values could cause that. For example if you have a table that has a Now() default value in like a timestamp or something, it's possible that is whats causing it. I'm sure you have checked that but if not, it could be worth a look.

  5. #5
    Board Regular
    Join Date
    May 2008
    Posts
    337
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Why does just opening and closing a database modify it?

    I right-click my desktop and choose New / MS Access database, and I note the create/modify time (which are the same). I open it, it gives me a macros-disabled notification, I check the options to see that Compact on Close and Remove Person Info are both unchecked, I Cancel the options dialog box and close the database. It still gets modified.

  6. #6
    Board Regular ranman256's Avatar
    Join Date
    Jun 2014
    Location
    Kentucky
    Posts
    1,775
    Post Thanks / Like
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Why does just opening and closing a database modify it?

    talk to microsoft.

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •