Solved

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

Posted on 2012-03-27
2
290 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

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

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…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

830 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