Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

could not update; currently locked. i don't know why?

Status
Not open for further replies.

Azac

Technical User
Oct 19, 2010
2
DE
hi,

I have a Access 2007 database, split in FE and BE.
Each user (about 15-20) has his own Front-End.

The database worked 2 month very well, but suddenly a runtime error occurs: " Could not update; currently locked "
Access freezes and the user can't do anything.

The error occurs irregularly, sometimes once a day, sometimes once an hour.

Users only type in the data and save the record. They can't edit or delete a record.

i change the DataEntry Property to "YES" and the recordLock property to "NO LOCK"

When the Error occurs the debugger marks this line of the code :

Code:
Private Sub Form_Current()

 
Me.txtUser = DLast("username", "tbl_user")

    
End Sub

The user gets a log-in form when he starts the database and the name is the saved in the local table "tbl_user".

I use this username to brand the record to each user.

I don't know how to find the failure. I hope someone can help me.

If you need more informations please tell me.

Thank you
 
Nobody here, who can help me with my problem?

Any advice how i can find my error on the database?

thanks a lot
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top