PRB: FoxPro RLOCK() Fails After Locking 220 Records

Last reviewed: April 8, 1996
Article ID: Q149613
The information in this article applies to:
  • Microsoft FoxPro for Macintosh, version 2.6a

SYMPTOMS

In FoxPro 2.6a for Macintosh, the RLOCK()function fails after locking 220 records due to a limitation of Macintosh file sharing.

STATUS

Microsoft is researching this behavior and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Confirm that file sharing is enabled by clicking the Apple menu, choosing Control Panels, and then selecting Sharing Setup.

  2. Create and run the following program:

    SET STATUS ON USE SYS(2004)+"Tutorial:Customer.dbf" SHARED SET MULTILOCKS ON DO WHILE !EOF() AND RLOCK()

          SKIP
    
    ENDDO

  3. After record 220 is locked, the message "Attempting to lock... Press ESC to Cancel" appears briefly in a Wait Window, and then the program terminates. The status bar displays Record: 221/500 Record Unlocked


Additional reference words: 2.60a FoxMac
KBCategory: kbprg kbprb
KBSubcategory: FxotherGeneral



THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: April 8, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.