Solved

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

Posted on 2012-03-27
2
292 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

759 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