Solved

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

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

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

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 When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
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…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

758 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

18 Experts available now in Live!

Get 1:1 Help Now