Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Error: Could not update; currently locked by another session on this machine

Posted on 2008-10-15
2
Medium Priority
?
462 Views
Last Modified: 2013-11-28
Very stange problem. I have 2 forms in a database in a fron-end / back-end scenario. I'm the only one using the database. Form A and Form B. Form A does not allow editing. I have a button (made using the wizard) that opens the same record in Form B for editing. When I change something in a memo field of a CERTAIN record (not all records) in Form B, I'm unable to save the changes and get the error: Could not update; currently locked by another session on this machine

I've done a fair amount of messing around already. Here's what I've done so far:

1. Repaired and compacted both DBs. (didn't help.)
2. Read this post and tried several things (none of which led me to a solution): http://www.experts-exchange.com/Microsoft/Development/MS_Access/Q_21580646.html?qid=21580646

I've Never seen this before and these forms are NOT doing anything beyond what Access creates with it's Wizards. Everything is generic as can be. No special code, nothing.

Ideas?

Thanks in advance.
0
Comment
Question by:bandriese
2 Comments
 
LVL 9

Assisted Solution

by:borki
borki earned 1000 total points
ID: 22729396
Haven't got a solution as you already tried to solve this. Other things to consider:

What version of Access, I have found 2007 behaving strangely. I am thinking of some sort of memory corruption when you write in the memo field, so Access thinks another process has got into the field.

Have you got the latest service pack?

Have you tried to perform the same action on another PC?

Front and Back on the same PC? If not what is the network connection?

Good luck

Felix
0
 
LVL 3

Accepted Solution

by:
bandriese earned 0 total points
ID: 22735731
Access 2003, all latest patches and service packs. Same problem happends on multiple computers. Not an issue with the network. I did figure out that if I removed several lines for the memo field, then everything worked fine. the problem seems to be related to how much content is in the memo field. In this case, maybe a page worth of text and html tags. Well, don't know the cause, but I geuss I found my own solution.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Instead of error trapping or hard-coding for non-updateable fields when using QODBC, let VBA automatically disable them when forms open. This way, users can view but not change the data. Part 1 explained how to use schema tables to do this. Part 2 h…
In a use case, a user needs to close an opened report by simply pressing the Escape (Esc) key. This can be done by adding macro code in Report_KeyPress or Report_KeyDown event.
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
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…

927 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