vuyy1182
vuyy1182

Reputation: 1686

Why does a record-locking file remain after I close access database?

I see Microsoft record locking file remain after i close the database. I run vba from access, if for some reason it gets not responding(while checking some code), then i close it. After that i still see record-locking file remain .

Upvotes: 0

Views: 946

Answers (1)

KevenDenen
KevenDenen

Reputation: 1726

Probably because your code is interacting with a database object. That connection doesn't get closed properly when you close the application mid-execution, so it never clears up the lock file.

Upvotes: 1

Related Questions