Solved

access 2007 don't save record, saying it's locked

Posted on 2012-03-27
2
288 Views
Last Modified: 2012-03-27
Hi,

My client says that when entering text on a text box she gets an error message:

"Update failed, the is locked by another process in this computer"

it happens only in one text box but on another one it works fine
I don't see any difference between the 2

any idea?
0
Comment
Question by:nuritat
2 Comments
 
LVL 9

Accepted Solution

by:
armchair_scouse earned 500 total points
ID: 37770689
Is there code behind the form on which the text boxes reside and/or event code such as an OnChange/IsDirty event on the Text box/record being displayed on the form?

Does the error message occur when the contents of the text box are changed or is it after the contents have been changed and then a button is pressed or you move to another record?

Is someone else trying to edit the same record as your client (could they be locking out the client who is receiving the error)?  If so, then the record locking when opening datasets in the code may need to be examined - is the data being locked optimistically or pessimistically? Or does someone have full access to the database and is sitting in Table View, editing the tables directly whilst your client is trying to update the record via a form?

I don't recognise the error message you mention as a Microsoft error message, I can only presume that it is a custom message that is being displayed as the result of some code that is being fired by the database your client is using.

It's difficult to diagnose as there is not a lot of detail in your question, hence the 1000 questions!!  Can you provide any more information?
0
 

Author Comment

by:nuritat
ID: 37770787
sorry for the lack of details

I think we'll try compact & repair and see if that helps

thanks anyway
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
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…

862 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

24 Experts available now in Live!

Get 1:1 Help Now