473,408 Members | 1,960 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

Err 3188: Couldn't Update; currently locked by another session

A very old app of mine that's been in production use, and largely
unchanged since about 1998 has started recently throwing error 3188
(can't update, locked by another session on this machine) when
saving edits to some memo fields.

I have found a number of things:

1. it happens only with long memo fields, starting somewhere above
255 characters (though I don't know exactly where.

2. it happens only on fields that have multiple controls that
display their data.

In the form I'm having the problem with, it's based on a table with
multiple record types, so two different tabs have controls with the
field displayed on them, though only one is visible at a time. There
is also a subform built on the same table that is non-editable that
displays a summary version of the record (it formats it like the
client's printed catalog entries).

I've solved the problem by tracking changes to the controls and
saving the record after either of the controls is updated. But the
only way to make it not error out is by swapping out the subform.

This did not used to happen -- it seems to have started happening
only in the last few weeks.

Any ideas on this?

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
Nov 13 '05 #1
3 3658
On Wed, 22 Jun 2005 01:28:25 +0000, David W. Fenton wrote:
A very old app of mine that's been in production use, and largely
unchanged since about 1998 has started recently throwing error 3188
(can't update, locked by another session on this machine) when
saving edits to some memo fields.

I have found a number of things:

1. it happens only with long memo fields, starting somewhere above
255 characters (though I don't know exactly where.

2. it happens only on fields that have multiple controls that
display their data.

In the form I'm having the problem with, it's based on a table with
multiple record types, so two different tabs have controls with the
field displayed on them, though only one is visible at a time. There
is also a subform built on the same table that is non-editable that
displays a summary version of the record (it formats it like the
client's printed catalog entries).

I've solved the problem by tracking changes to the controls and
saving the record after either of the controls is updated. But the
only way to make it not error out is by swapping out the subform.

This did not used to happen -- it seems to have started happening
only in the last few weeks.

Any ideas on this?

David,

FWIW, I have been experiencing the same error while reworking an old
(circa 1988) A97 app, originally developed on Win95, using my
recently-purchased XP Pro laptop. Memo fields do not come into play as in
your case, but I upgraded (?) XP to SP2 the other day and I do not recall
seeing the problem since. Not much to go on, but there it is.

Cheers,
Doug

Nov 13 '05 #2
David W. Fenton wrote:
A very old app of mine that's been in production use, and largely
unchanged since about 1998 has started recently throwing error 3188
(can't update, locked by another session on this machine) when
saving edits to some memo fields.

I have found a number of things:

1. it happens only with long memo fields, starting somewhere above
255 characters (though I don't know exactly where.

2. it happens only on fields that have multiple controls that
display their data.

In the form I'm having the problem with, it's based on a table with
multiple record types, so two different tabs have controls with the
field displayed on them, though only one is visible at a time. There
is also a subform built on the same table that is non-editable that
displays a summary version of the record (it formats it like the
client's printed catalog entries).

I've solved the problem by tracking changes to the controls and
saving the record after either of the controls is updated. But the
only way to make it not error out is by swapping out the subform.

This did not used to happen -- it seems to have started happening
only in the last few weeks.

Any ideas on this?

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc


I'll take a shot in the dark. Originally your multiple controls made
the changes fast enough to avoid the record lock collision between
them. Perhaps something like disk fragmentation over time has slowed
the edits enough for the problem to manifest itself for the long memo
fields first because their update is slower. I'd try defragmenting
before trying the save with the corresponding subform swap. Access
happens to be notoriously good at fragmenting hard drives. Although
the problem has cropped up in the last few weeks it may have been
creeping up on you all along.

James A. Fortune

Nov 13 '05 #3
Doug Hutcheson <sp*********@software-biz.com> wrote in
news:pa****************************@software-biz.com:
FWIW, I have been experiencing the same error while reworking an
old (circa 1988) A97 app, originally developed on Win95, using my
recently-purchased XP Pro laptop. Memo fields do not come into
play as in your case, but I upgraded (?) XP to SP2 the other day
and I do not recall seeing the problem since. Not much to go on,
but there it is.


Well, it's running on Win2K, as is my development box, and for me it
occurs on both (both SP4).

The problem surely can't be related, as mine is only happening with
long memo fields.

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
Nov 13 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Ray | last post by:
I am having my first experience using BLOB as a row in a table. I am using it to insert graphics for labels we print. I have no problem inserting into and select from the table. The graphic is...
0
by: cagilb | last post by:
re: Access 2000 & 2003. After editing code in multiple modules, sometimes when I save it displays Couldn't Update; currently Locked ... All my forms are missing. Usually when I exit and return...
1
by: Mark Reed | last post by:
Hi All, I'm having a problem with the following code. I've read quite a lot of old posts regarding the issue but none seem to affer a solution. The scenario is. I have a bound form which...
1
by: G Gerard | last post by:
Hello I am running an application created with MSAccess XP on a Novell server. Every few days the backend database locks up; when a user tries to update the backend, the following error message...
1
by: G Gerard | last post by:
Hello I am running an application created with MSAccess XP . This application is running on a server and has many users. Sometimes the backend database (MSAccess MDB) locks up When a user tries...
9
bhcob1
by: bhcob1 | last post by:
Hey guys, 'Update or CancelUpdate without AddNew or Edit' On my database i keep occasionly get this error when i try and edit a field, it is not everytime. It will be working fine and then this...
0
by: Access Programming only with macros, no code | last post by:
ERROR MESSAGE: Could not update; currently locked by another session on this machine. BACKGROUND I have the following objects: Table1 - HO (which has about 51,000+ records) Table2 -...
2
by: gbergeson | last post by:
I have the following code in an Access 2003 database: Dim myConnecion As ADODB.Connection Set myConnection = CurrentProject.Connection Dim myTable As ADODB.Recordset With myTable ...
6
by: stuart | last post by:
I have 2 users who ran into a problem with a data entry program (written in Access 2003). One user was keying into one of the forms when she got the message "ACCESS Error Number: 3218 Could not...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.