FIX: TABLEREVERT() Does Not Release Header Lock (142169)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
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.
Modification Type: | Major | Last Reviewed: | 3/24/2000 |
---|
Keywords: | kbbug KB142169 |
---|
|