473,473 Members | 4,176 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

ERROR MESSAGE:

LEX
Could not update; currently locked by another session on this
machine.

Can someone help me figure out why access gives me this error on some
record's memo fields but not on others?

Jun 6 '07 #1
2 1910
Lex,

Go to Tools/Options and on the "Advanced" tab and set the Default Open
Mode to "Shared", the Default Record Locking to "No Locks" and check
the "Open Databases using record-level locking" box.

Cheers,
Barry
On Jun 6, 11:23 am, LEX <i...@grantsinternational.comwrote:
Could not update; currently locked by another session on this
machine.

Can someone help me figure out why access gives me this error on some
record's memo fields but not on others?

Jun 7 '07 #2
LEX
HERE IS SOME BACKGROUND

I have the following objects:
Table1 - HO (which has about 51,000+ records)
Table2 - Contact (which has 68,000+ records)
Table3 - Notes (which has 69,000+ records)
They are linked in the relationships as a "1 to many" relationship
with cascading changes and deletes based on the company name in the
HO
Table being the "1" and the company name in the Contact and Notes
tables being the many.
FORMS
So I created a MAIN form based on the HO table and on that form I
have
2 x SUB forms that link as parent and child fields on the same
company
name field in the Contact and Notes tables. The sub forms have only
a
few fields from each record that show up and the)y are set up as
"Continuous Forms" in the "default view" property of the subform so
that multiple records will show up on the main form allowing our
people to see the essential information about each of the subcontacts
of the HO and the multiple notes (if the company indentified in the
HO
table has many of them).
When you double click any of the fields in either of the sub forms,
It
runs a macro that open another form "BIG NOTES" (with a default view
property of "single form" which has all the remaining fields for that
record in the corresponding subform.
THE PROBLEM - (and this is Bizzarre and why I need help)
If I edit the memo field in the subform on the MAIN form, I have no
errors BUT
if I edit the memo field in the BIG NOTES form when I close it I get
the error message
"Could not update; currntly locked by another session on this
machine."
Note that this is NOT for all the records in the database, it is
happening only to a selct few of them.
Stranger yet,
I can edit other non-memo fields in this form and I DO NOT get any
error message.
Stranger yet,
If I add another record to the notes, I can edit the memo field in
the first record, buit if I then delete that second record, I get the
error message again in the first record
Stranger Yet,
If I close the MAIN form, I cen edit the memo field in the BIG
NOTES
Form
Any help would be greatly appreciated.
Thanks,


On Jun 6, 10:33 pm, Barry Edmund Wright
<bwright_msacc...@sympatico.cawrote:
Lex,

Go to Tools/Options and on the "Advanced" tab and set the Default Open
Mode to "Shared", the Default Record Locking to "No Locks" and check
the "Open Databases using record-level locking" box.

Cheers,
Barry

On Jun 6, 11:23 am, LEX <i...@grantsinternational.comwrote:
Could not update; currently locked by another session on this
machine.
Can someone help me figure out why access gives me this error on some
record's memo fields but not on others?- Hide quoted text -

- Show quoted text -

Jun 13 '07 #3

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

Similar topics

10
by: | last post by:
I am accessing the same error-containing ASP page on an ISP server using w2k IE6 but with different effect. On the first computer I get several line of HTML outputed by ASP, shown correctly by...
9
by: Mairhtin O'Feannag | last post by:
Hello, We have two machines we wish to use DPF. They are both RH ES 2.1, with DB2 8.2. I read the documentation CAREFULLY, and added the following line to my db2nodes.cfg file : 1 egret 0
6
by: Squirrel | last post by:
I have a command button on a subform to delete a record. The only statement in the subroutine is: DoCmd.RunCommand acCmdDeleteRecord The subform's recordsource is "select * from tblVisit order...
8
by: Rod | last post by:
I have been working with ASP.NET 1.1 for quite a while now. For some reason, opening some ASP.NET applications we wrote is producing the following error message: "The Web server reported...
10
by: Shawn | last post by:
JIT Debugging failed with the following error: Access is denied. JIT Debugging was initiated by the following account 'PLISKEN\ASPNET' I get this messag in a dialog window when I try to open an...
16
by: | last post by:
Hi all, I have a website running on beta 2.0 on server 2003 web sp1 and I keep getting the following error:- Error In:...
2
by: f rom | last post by:
----- Forwarded Message ---- From: Josiah Carlson <jcarlson@uci.edu> To: f rom <etaoinbe@yahoo.com>; wxpython-users@lists.wxwidgets.org Sent: Monday, December 4, 2006 10:03:28 PM Subject: Re: ...
2
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I...
0
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.