Solved

Error compiling fairly simple database

Posted on 2016-11-14
3
42 Views
Last Modified: 2016-11-14
I get an error  "Could not use (Path\filename); file already in use".  I've compiled this database (Contracts.aacdb) successfully in the past.  Don't think anything has changed as far as network/version goes (Access 2007-2013).  However, I see that  the Debug/Compile option is greyed out.  See screendumps of both the error and the VB option.   No one else is using the database.
Compile-option-not-enabled.docx
0
Comment
Question by:kerikeri
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 120

Assisted Solution

by:Rey Obrero (Capricorn1)
Rey Obrero (Capricorn1) earned 250 total points
ID: 41887112
try opening the file Contracts.laccdb and see if more than one user have the db open.
the .laccdb is located in the same folder where  Contracts.accdb is.
0
 
LVL 57

Accepted Solution

by:
Jim Dettman (Microsoft MVP/ EE MVE) earned 250 total points
ID: 41887119
Delete the .laccdb file and reboot the PC.   Do a compact and repair then try a compile

Jim
0
 

Author Closing Comment

by:kerikeri
ID: 41887126
So impressed with your quick responses.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question