473,508 Members | 2,210 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Prevent access updating file date upon exit

11 New Member
Is there a method to stop Access updating the file date when exiting without changing anything in the database? Currently if you open a database and close it, the file date changes.

Any suggestions will be much appreciated.
JC
Jan 19 '17 #1
6 967
PhilOfWalton
1,430 Recognized Expert Top Contributor
I am guessing that when you open a database things happen. Certainly a lock file is created, I guess that links are refreshed, something may happen loading library references.

It might be an interesting experiment for you to compact & repair a database once, then open it and close it a number of times to see if the file size changes. Certainly a decompiled database gets bigger.

Phil
Jan 20 '17 #2
NeoPa
32,557 Recognized Expert Moderator MVP
It isn't possible to open an Access database in any version of Access without changing anything.

There are tools that can set a date/time on a file after the changes, but no Access database can remain unchanged when opened by Access.
Jan 20 '17 #3
zmbd
5,501 Recognized Expert Moderator Expert
JCK101,
Could you explain why this is important for your project?

While it may not be possible to retain the [date modified] value, we may have other workarounds to help you.
Jan 21 '17 #4
JCK101
11 New Member
Thank you all for your responses.
I work on 3 different computers, even though I number the versions, sometimes they get mixed up and I would like to keep track by dates, but as soon as I open the file the date changes even if I don't change or run anything, I just want to know when did I "really" work on a version and not when did I open it the last time.
Again, thank you all for your responses.
Jan 30 '17 #5
jforbes
1,107 Recognized Expert Top Contributor
I don't know if this would be an option for you, but you could use OneDrive, Dropbox or another similar cloud storage mechanism as your work area. That way it wouldn't matter what computer you made your changes on, it would always be made to your working copy.
Jan 30 '17 #6
zmbd
5,501 Recognized Expert Moderator Expert
jforbes most likely has your best solution there...

I personally use a 32GB encrypted thumb-drive and SyncToy as it's available both at work and at home. I've used other file sync software in the past, some of which are portable; however, the Company really doesn't like 3rd party software on their network and they prohibit non-company file storage, so I was forced to switched to ST.

I've also used various naming schemes to keep track of revisions. I have a habit of making a copy of the file I'm working on and appending the yyyymmddhhnn to the name. If I have to step away from the project and close it, when I come back to the project, I make a new copy of the last working file and append the current date/time to the file name. I'll also make a copy as before with the appended name and to Compact and repair within that copy. I'll do this same thing if testing out a major change in the code or data just so that I have a backup.
Jan 31 '17 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

5
1820
by: pafgbs | last post by:
I wanted to use some of my MFC stuff in a new C# applikation, so I made an activeX/ocx of my a database viewer. Tested ocx i VB 6.0 and MFC app, worked fine. Tested ocx i a C# .NET app, and upon...
1
4453
by: Pierre Maricq | last post by:
Hi, I am using Win2000 and Access2000. I need to build build a macro or write a VBA in Access that would screen all files contained in a directory on my C drive (files are structrured DAT...
6
5834
by: Malcolm Webb | last post by:
I have experimented with the routine to prevent access from closing using the module authored by Dev Ashish to be found at "The Access web" site. Whilst this seems to work, it is not exactly what...
4
8828
by: Jerry | last post by:
I've inherited a system w/5 projects - I'll refer to them as P1 thru P5 - P5 being the executable... P1 has no dependents. P2 is dependant upon P1 P3 has no dependents. P4 is dependant upon P1,...
2
4605
by: John R. Dougherty | last post by:
I am using VB.NET, and have experience coding to open an Access .MDB file for retrieving/updating data. But I would like to be able to get at the schema of the database - see the tables list, list...
2
1928
by: Colli | last post by:
Hi: I need to setup a continuously updating system Date/Time in my user interface. I can get the system date/time and can cause it to update with a button-click but I can't seem to figure out how...
6
13580
by: Mike Charney | last post by:
Is there a way to check a files date and time stamp from VBA in access. I have a need check a date stamp on a file that I am importing. Thanks in advance, Mike m charney at dunlap hospital...
0
1763
by: microb0x | last post by:
Is there any difference in the way an Access .mdb file is launched from directly double-clicking the file through windows explorer versus using code within another Access file to launch the...
1
1220
by: SoxFan44 | last post by:
Hi, I was wondering if there way any way that I could write a program that would run in the background and prevent access to a specific file. I can't use Windows permissions. Thanks for any...
1
1286
by: Colin Hook | last post by:
I am interested in preventing Access Updating if the User Has inadvertently entered wrong information via a Form. Is it possible to flag up a message "Do You Really Want to Do This prior to the...
0
7231
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7401
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7063
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5640
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4720
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3211
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1568
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
773
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
432
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.