FreeLocks

Please, Sir, Can I Have Some More?

I recently encountered just such a situation that required the use of FreeLocks. My project involved three concurrently running apps all using pessimistic locking on the same database. You could normally expect that the error handling (below) would work…


But alas, VB, not! In this situation the table remained locked indefinitely. The ONLY way to unlock the table is to use the FreeLocks statement when encountering the locking errors (followed by a DoEvents).


[HOME] [TABLE OF CONTENTS] [SEARCH]