PRB: "Record Not Locked" with BROWSE NOEDIT or NOMODIFYLast reviewed: June 27, 1995Article ID: Q104048 |
The information in this article applies to:
SYMPTOMSIssuing a BROWSE command with the NOEDIT or the NOMODIFY clause with a shared database while you are setting the delete tag of any record except the current record produces the error message "Record not locked."
CAUSEThe record tagged for deletion does not match the current record pointer; as a result, the desired record cannot be locked prior to being flagged for deletion.
RESOLUTIONTo correct the problem, issue an ON ERROR routine to trap the message prior to issuing the USE <database> SHARED and BROWSE commands. This routine will allow the tagged record to be selected even when it is not the current record.
CLEAR ON ERROR DO errhand WITH ERROR( ), MESSAGE( ) *** Errhand *** PROCEDURE errhand PARAMETER errnum,message If Errnum = 130 On Error * Endif RETURN MORE INFORMATION
Steps to Reproduce Problem
|
Additional reference words: FoxDos FoxWin 2.00 2.50 2.50a errmsg err msg
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |