Solved

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

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
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…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

806 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