Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6349985
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T21:43:29+00:00 2026-05-24T21:43:29+00:00

Just a little background: I am using Access 2010 to create forms and VBA

  • 0

Just a little background: I am using Access 2010 to create forms and VBA code in an Access 2003 format database. For some reason, Access 2007 format databases always corrupt on me when I make changes and save them with a particular group of objects, but that’s for another discussion.

When writing VBA code in this Access 2003 database, any time my code breaks (via breakpoint or an unhandled error) and I make a correction, Access tells me that it can’t save back to the database because another user has it open. However, I am the only user working on the database; this is a local copy of the database and it’s sitting on my desktop.

The LDB file can’t be deleted because Access is using it. When I first load the database, I see my machine name and “Admin” when opening the LDB in a text or hex editor. After a break, I see that plus a duplicate entry, but this time around “admin” has a lower-case “A.”

Closing the database and reopening it fixes the problem but makes it needlessly cumbersome to debug my code. Anyone else encounter this issue and/or have a fix for it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T21:43:30+00:00Added an answer on May 24, 2026 at 9:43 pm

    It might be helpful to know what your code is doing when this happens. Certainly that’s not normal behavior. For instance, are you opening another database with New Access.Application? Are you using ADO or DAO to access records in the database with a connection string?

    There are no external connections to the database at all.

    It may not matter if there are external connections to the database if you are using a connection string to connect to the open database; not sure but that may be seen as an external connection… you may want to use CurrentDB for DAO, or CurrentProject.Connection as your ActiveConnection for any ADO queries.

    I am assuming that this problem persists through reboots; but for the sake of argument, try closing out Access and going to the task manager to make sure you have no other instances of MSAccess.exe running. You might even try closing all Office products and/or making sure that Access is the only Office product running. I have seen some weird conflicts between Microsoft Communicator and Outlook; so it’s not entirely out of the question for Access to have issues with another MS product.

    You may also want to check the size of the database to make sure it’s not exceeded 2GB. That causes the infamous “Invalid parameter” error; perhaps it might be causing this as well.

    With no other details about how your program works, we may only be able to offer generic advice like this.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've just created a little app that programmatically compiles code using the C# Compiler,
A little background: I'm using Spring and Hibernate to create a really simple domain/dao/service
Just a little background on my project: I'm implementing an SMS encryption program using
Background: I recently completed a tic-tac-toe game in AS3, using some simple function-based code
A little background: I am trying to create a lightweight cookieless database-backed user session
Little bit of background, I'm more experienced with Java, and have some C/C++ experience.
First, I should be clear by providing a little background: I'm using Eclipse to
I just started OpenGL for iPhone, using GLKit. My programming background is almost just
Fist a little background: I'm using Rails 3.0.7, Postgres 9.0 and MetaWhere/MetaSearch 1.0.4 I
I have a little CSS code as below: input{ background-image:url(css_img/input_bg.gif); padding:6px; margin:1px; width:250px; font-family:Trebuchet

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.