473,399 Members | 2,278 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

How come I sometimes get this?? "Run-time error 3211: can't lock table. "

My app is giving me this error.

Run-time error 3211:
The database engine could not lock table 'Sorted_Template' because it is
already in use by another person or process.

When I run the app the first time through, it runs fine. I get this when I
run a make-table query that tries to write out the table called
"Sorted_Template". I tried using a TableDefs.Delete command thinking that
make using the docmd.openquery was causing the problem. But it cannot
delete the table either - I get the same error msg.

The table at this point should not be in use by another process and I am the
only user. So what gives? I am using this in an automation project but at
this point I am not calling any other MS Office apps. But I do establish a
recordset variable early in the code. It is closed and the var set to
nothing when the sub ends so I do not see how that is the problem.

Any ideas?

Thanks
Nov 13 '05 #1
0 4322

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: SiuLoBow | last post by:
Hi, Is there anyway to detect the ActiveX control is able to run on the browser or not? After I installed the ActiveX control to my system, user sometimes switch the secruity setting to "not...
0
by: cilorentson | last post by:
I would like to be able to do this. Run two printers on one computer, in reality one would be a backup. I have a printer that prints very well, and then a printer that is a...
6
by: ajikoe | last post by:
def f(x,y): return math.sin(x*y) + 8 * x I have code like this: def main(): n = 2000 a = zeros((n,n), Float) xcoor = arange(0,1,1/float(n)) ycoor = arange(0,1,1/float(n))
1
by: Carlos Gomez | last post by:
I'm using Visual Studio .NET to make a C++ DirectX application. My problem is that sometimes when I hit RUN, the application begin loading but doesn't show on the desktop, almost as if I had set...
1
by: Brett | last post by:
Is there a way to disable the run in VS.NET 2003 for ASP.NET apps? Everytime I run an ASP.NET app, it freezes my machine. I avoid the run but sometimes I do it by accident so I need it disabled. ...
2
by: Jarod | last post by:
Hello I've a strange problem when I try to start a program using F5 or using menu start debug the program starts or it looks like it was started but no form is shown. Sometimes all thing works...
7
by: jw | last post by:
//it sometimes crashes sometimes not why? #include<iostream> #include<fstream> #include<vector> #include<string> #include<ctime> using namespace std; #ifndef NULL #define NULL (short) 0...
2
by: Grant Merwitz | last post by:
Hi I am currently offering a download of an executable. This is linked directly through HTML: <a href='/downloads/install.exe'>DOWNLOAD</a> Now, we have some problems when a user clicks "RUN"...
7
by: Brian Shafer | last post by:
I have VS2005 installed on my destop and on my laptop. I created this app with my desktop and i don't get this. Run the IDE on my laptop and this is what I get? Access of shared member, constant...
10
klarae99
by: klarae99 | last post by:
I am working on an Inventory Database in Access 2003. I am having trouble with a report I designed to show current inventory in stock. I have a form (frmInventory) that is unbound. There are four...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.