|
-
Apr 4th, 2000, 03:52 AM
#1
Thread Starter
Junior Member
I am running a program that uses DAO to manipulate an Access database. I open the database and create a recordset. I seek for a record and delete it. Then I close the database. When deleting, I keep getting the following error:
"Couldn't update; currently locked by user 'admin' on machine 'machine name'.
I am doing something like this
DBEngine.Idle dbRefreshCache
QTable.Seek "=", stUniqueId
If QTable.NoMatch = False Then
QTable.Delete
End If
I update the database in other areas in this program and have had no problems until I added this delete.
Any ideas what could be causing this error?
-
Apr 4th, 2000, 09:18 PM
#2
Junior Member
Did you using data env. or something else that hold the database? Coz i have the this kind of problem last time when i was using the data env.
-
Apr 5th, 2000, 12:00 AM
#3
Thread Starter
Junior Member
In case someone else has this problem. It is in a multiuser environment and I have to check if the recordset is updatable prior to deleting.
Thanks anyway
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|