Automatic Record Locks Placed by 2.6 Commands

ID: Q113276

The information in this article applies to:

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

Last Reviewed: June 27, 1995