PRB: "Record is not locked" When Editing Multi-table BrowseID: Q124865
WINDOWS | MS-DOS
The information in this article applies to:
SYMPTOMSWhen editing the data in a Browse window using the BROWSE command with the FIELDS clause, where the fields come from more than one table, a dialog box appears containing the message:
CAUSEOne or more of the tables whose fields are included in the BROWSE is opened exclusively. One cause of the "Record is not locked" message is attempting to edit any field of a multi-table BROWSE involving related tables when one of the tables is opened for exclusive use.
RESOLUTIONDo not open any of the tables exclusively, or edit the fields within the @ ... GET fields of a window defined by FoxPro's Screen Builder.
STATUSThis behavior is by design.
MORE INFORMATIONSteps to Reproduce Behavior 1. Set the default directory to the TUTORIAL directory provided with the 2. Create and run a program containing the following commands:
3. Move the insertion point to the PRICE field of any record and enter some
The message "Record is not locked" appears. This happens on a single-user
system and on a shared (network) system, with or without multi-locks being
set on or off, and with or without the Detail table being opened in Shared
mode.
This occurs because FoxPro assigns Exclusive status to the browsed data of all of the related tables when one of those tables is opened exclusively. Additional reference words: 2.60a FoxWin FoxDos errmsg multiuser network KBCategory: KBSubcategory: FxprgMultiuser
|
|
Last Reviewed: May 22, 1998 © 1999 Microsoft Corporation. All rights reserved. Terms of Use. |