Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. avoiding MS Access database modified time

avoiding MS Access database modified time

Scheduled Pinned Locked Moved Database
databasetutorialquestion
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    venkat116
    wrote on last edited by
    #1

    Hi all, I have a MS-Access database. Whenever I open the database its modified date and time will be changed. I want whenever a change in the database ( by modifying records or tables ) then only the DB date and time should be changed. How to control by not modifying date and time, when only database is opened or accessed? How to do this?

    B M P 3 Replies Last reply
    0
    • V venkat116

      Hi all, I have a MS-Access database. Whenever I open the database its modified date and time will be changed. I want whenever a change in the database ( by modifying records or tables ) then only the DB date and time should be changed. How to control by not modifying date and time, when only database is opened or accessed? How to do this?

      B Offline
      B Offline
      Blue_Boy
      wrote on last edited by
      #2

      I can't understand enough your question, can you explain more technically?


      I Love T-SQL "Don't torture yourself,let the life to do it for you." If my post helps you kindly save my time by voting my post. www.aktualiteti.com

      V 1 Reply Last reply
      0
      • V venkat116

        Hi all, I have a MS-Access database. Whenever I open the database its modified date and time will be changed. I want whenever a change in the database ( by modifying records or tables ) then only the DB date and time should be changed. How to control by not modifying date and time, when only database is opened or accessed? How to do this?

        M Offline
        M Offline
        Mycroft Holmes
        wrote on last edited by
        #3

        You are not going to be able to manage the modified time of a file (your DB) from within the file, it will be in use by another process. If you need to track the changes made WITHIN the database then you are going to have to build the logging infrastructure to manage that and it will not be via the modified date of the database file.

        Never underestimate the power of human stupidity RAH

        1 Reply Last reply
        0
        • B Blue_Boy

          I can't understand enough your question, can you explain more technically?


          I Love T-SQL "Don't torture yourself,let the life to do it for you." If my post helps you kindly save my time by voting my post. www.aktualiteti.com

          V Offline
          V Offline
          venkat116
          wrote on last edited by
          #4

          Yaah, Whenever we just open and close the database. The date and time of the database will be modified. I don't want this. ( date and time modification ). If I have changed the database ex: By adding new records or tables, or deleting records or tables then only the database modified date and time should be changed. how to do this?

          1 Reply Last reply
          0
          • V venkat116

            Hi all, I have a MS-Access database. Whenever I open the database its modified date and time will be changed. I want whenever a change in the database ( by modifying records or tables ) then only the DB date and time should be changed. How to control by not modifying date and time, when only database is opened or accessed? How to do this?

            P Offline
            P Offline
            PIEBALDconsult
            wrote on last edited by
            #5

            You could possibly get and store the date before opening the file and restore it after closing. But I doubt it's worth the trouble.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups