PC Review


Reply
Thread Tools Rate Thread

Could not update: currently locked.

 
 
slickdock
Guest
Posts: n/a
 
      22nd Jun 2009

Access 2002, distributed runtime mde file:
I have a split database, with users running mde locally, pointing to shared
mdb data file of tables on server. There are 20-30 users at any given time.
Some users have been getting the error "Could not update; currently locked"
on a form. There is no error number. All users have modify permissions. They
get the error when clicking on a new line in a form before they have entered
any data in the new record. The form has a [LastModifiedTime] field whose
default value is Now(). Then the form has a BeforeUpdate macro that sets the
value of [LastModifiedTime] to Now(), in case they are changing a preexisting
record.

TIA,
Kathy
 
Reply With Quote
 
 
 
 
Tom van Stiphout
Guest
Posts: n/a
 
      23rd Jun 2009
On Mon, 22 Jun 2009 15:23:01 -0700, slickdock
<(E-Mail Removed)> wrote:

That default value is not needed. The BeforeUpdate would catch new
records as well.
Not sure this will fix the problem, but worth a try. THere is no other
code in any other relevant events? One way to check is to temporarily
set the Form.RecordSelector property to true, and watch if you get a
pencil (indicating dirty record) when you open the form to a new
record.
Also make sure Form.Recordlocks is set to NoLocks.

-Tom.
Microsoft Access MVP


>
>Access 2002, distributed runtime mde file:
>I have a split database, with users running mde locally, pointing to shared
>mdb data file of tables on server. There are 20-30 users at any given time.
>Some users have been getting the error "Could not update; currently locked"
>on a form. There is no error number. All users have modify permissions. They
>get the error when clicking on a new line in a form before they have entered
>any data in the new record. The form has a [LastModifiedTime] field whose
>default value is Now(). Then the form has a BeforeUpdate macro that sets the
>value of [LastModifiedTime] to Now(), in case they are changing a preexisting
>record.
>
>TIA,
>Kathy

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Could not update Currently Locked =?Utf-8?B?ZGF3bmVjaWE=?= Microsoft Access Database Table Design 4 8th Oct 2007 07:17 PM
Cannot update; currently locked =?Utf-8?B?bWljaDEwNTc3?= Microsoft Access Forms 1 15th Mar 2006 04:09 PM
RE: locked out of XP after update =?Utf-8?B?RGl4b25pYW42OQ==?= Windows XP General 0 5th Nov 2005 01:38 AM
RE: locked out of XP after update =?Utf-8?B?TWlrZQ==?= Windows XP General 1 5th Nov 2005 01:36 AM
Could not update; currently locked. =?Utf-8?B?SmVmZg==?= Microsoft Access 4 11th Jun 2004 06:33 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:03 AM.