
Jet locking (unlocking) problem
Hello!
I am working with an mulituser application written in VB 4.0 (both 16
and 32 bit), with the Jet databaseengine.
I run with the optimistic locking scheme (The record is locked only in
the update process). After an update, the record (or page) don't seem
to be unlocked. I know that the unlocking is a background process, but
I also have included the DBEngine.Idle method after the update method.
Here is a sample of my code:
tblMyTable.Edit
'change some database fields
tblMyTable.Update
DBEngine.Idle dbFreeLocks
When other users access other records in the database meny seconds
after the update, the error message 3186 (the record is in use of
another user or something like that) occur.
Can someone help me? Feel free to send me a mail!
Ulf Erik Forsbakk