I have a program that I am sure uses VB or Access. I don’t know why but I can no longer make a backup to use in my desktop for the laptop. I have tried everything from changing security settings to renaming file extensions to zipping the files and all it does when restored is give you old data.
There are no passwords to get into the database so I don’t know what else to try.
Hope someone can give me a simple answer.
Thanks,
Richard
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Can’t copy MDB file
Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Can’t copy MDB file
- This topic has 30 replies, 6 voices, and was last updated 13 years, 1 month ago.
AuthorTopicWScogop_retired
AskWoody LoungerFebruary 19, 2012 at 9:08 am #481661Viewing 15 reply threadsAuthorReplies-
WSruirib
AskWoody LoungerFebruary 19, 2012 at 11:20 am #1320432Hi,
Welcome to the Lounge.
I suggest that you use a tool such as Sysinternal’s Process Monitor and then add a filter for process name, using your program’s name. You can also add a filter for path ending with .mdb or .accdb. Like that you can see what files are accessed by the program and find out why your data is not being updated.
-
WScogop_retired
AskWoody Lounger -
WSruirib
AskWoody Lounger -
WScogop_retired
AskWoody Lounger
-
-
-
-
WSMarkLiquorman
AskWoody LoungerFebruary 19, 2012 at 3:35 pm #1320473It is quite likely you have a frontend and a backend database. You are just making a backup of the frontend (which is essentially the program, not the data). Look at your tables in the database window. If there is an arrow in front of a table, it indicates it is a linked table and actually resides in another database. Use the Linked Table Manage to determine how the tables are linked.
-
WScogop_retired
AskWoody LoungerFebruary 19, 2012 at 5:06 pm #1320479Since I am trying to open this with an application and not Access or VB how can I get to the table manager? This is a stand alone program and all it is supposed to open is the program I am working with. I have emailed the folks who wrote the program and they don’t seem to understand.
Thanks
-
-
WSruirib
AskWoody LoungerFebruary 20, 2012 at 5:07 am #1320541Start Process Monitor. It will look something like this:
30127-ProcMon1Click the diamond icon (if you hover it, it will display filter) and you get something like this:
Now add a filter. If you are looking for a .mdb file, this is what you need to add
For the left dropdown choose Path, then ends with then add .mdb and then at the right, then Include, as the picture shows.
Click the Add button, then the Apply button and the window will show you the filtered list:You can click the Ok button and have a look to see if you find the .mdb in question, or just try adding another condition to the filter. If you know the program’s name, you can try to add a line for that too. Options can be:
Process name, from the first dropdown, begins with, add the name of the program and then choose Include at the far right dropdown. Click the Add button, then the Apply button and then OK.
At any time you can bring the filter window back on and click one the lines and then click the Remove button, to remove it, and then add a new line, to look for a different extension (.accdb) or a different process name.
HTH
-
WScogop_retired
AskWoody LoungerFebruary 20, 2012 at 9:53 am #1320585Okay, I filtered it out. Now how do I find my problem? How can I tell what to do? Is there a way to see if it is pointing to the “old data” or a “ghost database”. It does not matter if I delete every .mdb file on this computer, when I copy the backup to this computer it still gives me old data. I guess I need some kind of tutorial.
Thanks for your help.
-
-
WSruirib
AskWoody Lounger -
WScogop_retired
AskWoody LoungerFebruary 20, 2012 at 6:51 pm #1320721Okay, the process monitor will tell me what database is being used. But, that is actually no help. What I need to know is how to copy the mdb file and keep the old data. I am sure that there is something keeping the old database intact, even though I am deleting it. I can delete the database from my desktop, empty the recycle bin, clean the hard drive, go copy and paste the old data (it does not matter if I email it, transfer it over the network, put it on a memory stick or whatever, I still get old data.
So, I am assuming the problem lies with how the laptop is copying the database.
-
WSruirib
AskWoody LoungerFebruary 20, 2012 at 7:09 pm #1320723Okay, the process monitor will tell me what database is being used. But, that is actually no help. What I need to know is how to copy the mdb file and keep the old data. I am sure that there is something keeping the old database intact, even though I am deleting it. I can delete the database from my desktop, empty the recycle bin, clean the hard drive, go copy and paste the old data (it does not matter if I email it, transfer it over the network, put it on a memory stick or whatever, I still get old data.
So, I am assuming the problem lies with how the laptop is copying the database.
If you are sure you have found the database file actually used, I fail to see how old data could be used. Probably you should do that in both computers, and make sure you replace all involved files. Unless the app caches data somewhere, which the programmers should be able to tell you, but would be very weird to cache a lot of data outside the database.
-
-
WScogop_retired
AskWoody LoungerFebruary 20, 2012 at 9:56 pm #1320741This is driving me up the wall. It does not matter what you do. You can put the file on a cd, memory stick, just copy the file outside of the program files (x86) and when you open the file the data is several weeks old. I am afraid to mess with the original file. This happen once before and I tried to rename it and I had to reenter several days worth of work. The registry has to have some kind of code that is pointing to a database in virtual memory. I have went into the director and deleted what was in the VirtualStore, deleted all unnecessary files in the application. I just have not changed the database. If I open it with the original file everything is there. If I make a copy, no matter how, everything is weeks old. I hope someone can help. It is not urgent, but I have to have a reliable backup.
-
WScogop_retired
AskWoody Lounger -
WSCronk
AskWoody LoungerFebruary 23, 2012 at 1:29 am #1321354Maybe you are backing up an older version of the data.
I’d suggest you try and locate the mdb data file that your VB6 application is connected to.
You could do this by closing everything else, then opening your VB6 application and going to a record currently existing in your data. This should open the connection to your mdb and the ldb locking file should be created. (Whenever you open an mdb which is read/write an ldb file is created eg if your data file is XXX.mdb, a file XXX.ldb is created in the same folder).
I would search for this ldb file and backup the corresponding mdb.
Hope that is of assistance.
Cronk
-
WSSteve823
AskWoody LoungerFebruary 23, 2012 at 2:19 pm #1321474An MDB file is a MS Access file so you need to run Access and then open it from within Access. If you copy the MDB files from one computer to another Access will be looking in the wrong place for the file. While I used Access all the time when I was working since I’ve retired I haven’t used it and don’t have it on my computer anymore so I can’t tell you where you set that option. It may be in an options or settings menu or the table manager which someone else mentioned. I used to do that all the time. Sorry I can’t be more explicit.
-
WSjohnhutchison
AskWoody LoungerFebruary 23, 2012 at 3:45 pm #1321500If you copy the MDB files from one computer to another Access will be looking in the wrong place for the file.
On any computer with Access, double clicking the copied file will open it with Access automatically.
I can’t tell you where you set that option.
It is not clear what option you are referring to.
-
-
-
-
WScogop_retired
AskWoody LoungerFebruary 22, 2012 at 3:41 pm #1321298I received the following from the Vendor today:
To answer your question, OutReach is written in Visual Basic 6; it uses an Access database to store the data.
I’m sure you probably have checked and re-checked every detail, but today when I was testing, trying to re-create your issue, I had to pay close attention to which MDB I needed to copy/paste/open and where it was located on each computer. So I want to make sure that when you copy and paste your database in Windows and open and close it in OutReach, you are making certain that you’re selecting the one you want. I’m sure you are, but I mention it just because that’s one of those details that can sometime trip ME up.
If the folks that are trying to help you have any specific suggestions about where they think the error might be, please pass that on and we’ll take a look.
Hope someone can help.
-
WSjohnhutchison
AskWoody LoungerFebruary 22, 2012 at 4:36 pm #1321313I don’t know what is going on. The only possible explanation I can think of is that the mdb file you are copying is not the right one.
To test this, try renaming that file on the machine with the software installed. When you next run the software it should complain (or at least not work) beacause it can’t find the mdb file it wants.
If it works Ok then clearly it is using a different file.After you have used the software do a search for files modified Today and see what is turns up.
-
WScogop_retired
AskWoody LoungerFebruary 22, 2012 at 4:56 pm #1321318 -
WScogop_retired
AskWoody Lounger
-
-
WScogop_retired
AskWoody LoungerFebruary 23, 2012 at 6:46 am #1321385Just to let everyone know that has tried to help. It will be a few days before I will be responding. What I suspected has happened. It copying the file so many times trying to make a true backup. It somehow overwrote the only good copy. So, now my earliest data dates 12/27/2011. I will have to try to recreate the data from my paper work. Some of my notes and memories of the clients are lost forever. I will post a follow up later. Thanks for trying.
-
WScogop_retired
AskWoody LoungerFebruary 23, 2012 at 4:13 pm #1321517Thanks but I have already lost the file. It had to overwrite an old backup. I was told by the Vendor/developer today that my opening it in Access may have been my problem all along. They said that Access if I changed anything on purpose or by accident that it could “lock” the database with that date. They wrote the application in Visual Basic 6, not Access. Anyway thanks for trying.
-
WScogop_retired
AskWoody LoungerFebruary 24, 2012 at 8:25 am #1321652I have found the problem and I am probably the culprit. I opened this database in Dec. with Access. I did not think that I changed anything. The vendor says when you try to change anything in access it will mess the application up, or at least the data. I hope someone can help.
My wife and myself worked 13 hours yesterday putting the data back in.
After putting some data in, I moved it to another computer to see if it would transfer. It did. Problem solved, right? No! I tried to move the data back to the laptop this morning and what I did yesterday on the laptop is all that is there.
Here is the problem. Cronk on Windowssecrets forum told me to look for a file being created with the extension .ldb. It seems Access creates this file when you open an mdb to prevent changes. It locks the file. So, somewhere on my laptop I have got to fix something to prevent this from happening.
Hope someone knows how. I do not use Access. I just opened the file to look at the structure.
Thanks
-
-
WScogop_retired
AskWoody Lounger -
WSjohnhutchison
AskWoody LoungerFebruary 24, 2012 at 3:18 pm #1321738You can’t stop the creation of ldb files. They will always be created when you use the mdb, either via Access or your VB application.
Databases are designed for multiple users. In this situation you can’t have two people changing the same piece of information at the same time. So when someone starts to edit some data, the database needs to keep track of what parts of the database need to be locked.
when the edit is finished the lock is released. When the database is closed, the ldb is deleted.
The ldb is not the problem.
Cronk’s point was that an ldb is a good guide to what mdb data file is atually being used by the application. -
WScogop_retired
AskWoody LoungerFebruary 24, 2012 at 5:20 pm #1321755What I need is for someone to tell me what I am doing wrong. If I go to the folder where the mdb file is located, and it has been closed in the application and application has been shut down, I copy that file from the only folder that it resides in, how can I be copying any other file. All I am trying to do is move it from one computer to another. But, when I paste it into the folder of the other computer only “old data” is present. It is like there is a copy of what I used last on that specific computer that has been frozen in time.
-
WSjohnhutchison
AskWoody LoungerFebruary 24, 2012 at 6:03 pm #1321758What I need is for someone to tell me what I am doing wrong.
You don’t seem to be doing anything wrong.
In an earlier post you describe the software as Outreach. Is this it?
If it is I will have a look at their free trial and see what I can work out. -
WScogop_retired
AskWoody LoungerFebruary 24, 2012 at 8:06 pm #1321769John, yes it is. And I have closed everything on each computer. Cleaned up the hard drives re installed and loaded the backup from the desktop and everything seems to be working now. I just pray I find out what I did that created this nightmare. I am sure it had something to do with me opening the mdb file in Access back in Dec. I did not think I changed anything. I was just looking at the structure. I don’t want to loose any data that we have for statistics for the last three years. I am trying to put together a database in Alpha 5 because this one will not let you export data. We need that desperately in order to apply for grants.
-
-
WSjohnhutchison
AskWoody LoungerFebruary 25, 2012 at 12:05 am #1321776I have installed the application and done a little bit of testing.
The program use an mdb data file, and by default this is called Outreach. At the foot of the main screen it display the name and path of the data file being used. The screen shot below displays the default location.
When I run the application I do see an ldb file created in that location. The Date Last Modified is updated when I modify any data through the application.
When I close the application and open the mdb via Access I do see the data I have just entered via the application. I can change the data in Access, then see the changes in the application.
I can make a copy of the mdb and move it to another location and see all the data, either via Acces or the application.
This is not much help to you. It tells you that my copy is doing what you want your copy to do.
My only conclusion is that you have created so many copies of the mdb file that you are getting confused about what one to use when.
-
[*]If you open the mdb in Access and don’t see the data you have just entered via the application, then the data file you open in Access is not the same one you were using.
[*]If you the open the mdb in Access and do see the data you have just entered via the application, but not older data, then you were using the wrong data file when you last used the application.If you exit the application without closing the data file, it automatically reopens the same data file next time. That seems like a good safety feature to me, once you have really determined what is the correct data file.
I acknowledge that I have only entered a little bit of test data, but I can’t think of any other explanation for what is happening to you.
-
WScogop_retired
AskWoody Lounger
Viewing 15 reply threads -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
50 years and counting
by
Susan Bradley
2 hours, 7 minutes ago -
Fix Bluetooth Device Failed to Delete in Windows Settings
by
Drcard:))
2 hours, 17 minutes ago -
Licensing and pricing updates for on-premises server products coming July 2025
by
Alex5723
10 hours, 52 minutes ago -
Edge : Deprecating window.external.getHostEnvironmentValue()
by
Alex5723
10 hours, 57 minutes ago -
Rethinking Extension Data Consent: Clarity, Consistency, and Control
by
Alex5723
11 hours ago -
OneNote and MS Word 365
by
CWBillow
12 hours, 50 minutes ago -
Ultimate Mac Buyers Guide 2025: Which Mac is Right For You?
by
Alex5723
13 hours ago -
Intel Unison support ends on Windows 11 in June
by
Alex5723
13 hours, 13 minutes ago -
April 2025 — still issues with AMD + 24H2
by
Kevin Jones
13 hours, 24 minutes ago -
Windows 11 Insider Preview build 26200.5518 released to DEV
by
joep517
1 day ago -
Windows 11 Insider Preview build 26120.3671 (24H2) released to BETA
by
joep517
1 day ago -
Forcing(or trying to) save Local Documents to OneDrive
by
PateWilliam
1 day, 9 hours ago -
Hotpatch for Windows client now available (Enterprise)
by
Alex5723
21 hours, 45 minutes ago -
MS-DEFCON 2: Seven months and counting
by
Susan Bradley
17 hours, 38 minutes ago -
My 3 monitors go black & then the Taskbar is moved to center monitor
by
saturn2233
1 day, 18 hours ago -
Apple backports fixes
by
Susan Bradley
1 day, 1 hour ago -
Win 11 24H2 will not install
by
Michael1950
17 hours, 40 minutes ago -
Advice to convert MBR to GPT and install Windows 11 Pro on unsupported PC
by
Andy M
15 minutes ago -
Photos from iPhone to Win 10 duplicating/reformatting to .mov
by
J9438
7 hours, 26 minutes ago -
Thunderbird in trouble. Here comes Thundermail
by
Alex5723
1 day, 20 hours ago -
Get back ” Open With” in context menus
by
CWBillow
2 days, 9 hours ago -
Many AMD Ryzen 9800X3D on ASRock have died
by
Alex5723
1 day, 1 hour ago -
simple general stupid question
by
WSaltamirano
2 days, 7 hours ago -
April 2025 Office non-Security updates
by
PKCano
3 days ago -
Microsoft wants to hear from you
by
Will Fastie
2 days ago -
Windows 11 Insider Preview Build 22635.5160 (23H2) released to BETA
by
joep517
3 days, 3 hours ago -
Europe Seeks Alternatives to U.S. Cloud Providers
by
Alex5723
3 days, 9 hours ago -
Test post
by
Susan Bradley
3 days, 11 hours ago -
Used Systems to delete Temp files Gone WRONG what does this mean?
by
Deo
3 days, 13 hours ago -
SSD shuts down on its own
by
CWBillow
3 days, 4 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.