Automatic Record Locks Placed by 2.6 Commands

Last reviewed: June 27, 1995
Article ID: Q113276
The information in this article applies to:
  • Microsoft FoxPro for Windows, version 2.6
  • Microsoft FoxPro for MS-DOS, version 2.6

SUMMARY

The "Programming in a Multi-User Environment" section of the "FoxPro in a Multi-User Environment" chapter of the FoxPro "Developer's Guide" lists commands that automatically lock records and files. An additional command should be added to this table for FoxPro version 2.6.

MORE INFORMATION

The BLANK command performs an automatic record lock. The number of records locked will vary based on the scope of the command, as listed in the table below.

   Command             What's locked
   ----------------------------------------------------------------------

   BLANK               Locks current record (and all records from aliased
                       fields)

   BLANK NEXT 1        Locks current record (and all records from aliased
                       fields)

   BLANK <scope        Locks entire database (and all files from aliased
   beyond one>         fields)

REFERENCES

For more information about automatic record locking, see the FoxPro "Developer's Guide."


Additional reference words: FoxDos FoxWin 2.60 multiuser
KBCategory: kbprg
KBSubcategory: FxprgMultiuser


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: June 27, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.