Solved

Error compiling fairly simple database

Posted on 2016-11-14
3
16 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
3 Comments
 
LVL 119

Assisted Solution

by:Rey Obrero
Rey Obrero 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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

In the previous article, Using a Critera Form to Filter Records (http://www.experts-exchange.com/A_6069.html), the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
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 start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

747 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now