FIX: TABLEREVERT() Does Not Release Header Lock
Article ID: 142169
Article Last Modified on 3/24/2000
APPLIES TO
- Microsoft Visual FoxPro 3.0 Standard Edition
This article was previously published under Q142169
SYMPTOMS
If Pessimistic locking is in use and an APPEND BLANK is canceled with a
TABLEREVERT(), another user will not be able to add another record to the
table. If an attempt is made either an "Attempting to Lock...Press ESC to
Cancel" message is presented or a "File is in use by another" error is
generated.
CAUSE
Visual FoxPro 3.0 TABLEREVERT() command is not releasing the header lock on
the file.
WORKAROUND
The best workaround is to update to 3.0b. If this is not an option, follow
the TABLEREVERT() command with an UNLOCK RECORD 0. This will force an
unlock of the header.
STATUS
Microsoft has confirmed this to be a problem in the Microsoft products
listed at the beginning of this article. This problem was corrected in
Microsoft Visual FoxPro 3.0b.
Additional query words: VFoxWin buglist3.00 fixlist3.00b multiuser multi-user
Keywords: kbbug kbfix KB142169