How to Recycle Deleted Records in a Multiuser Environment (95250)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft FoxPro for MS-DOS 2.0
- Microsoft FoxPro for MS-DOS 2.5
- Microsoft FoxPro for MS-DOS 2.5a
- Microsoft FoxBASE+ for MS-DOS 2.1
- Microsoft FoxPro for Windows 2.5
- Microsoft FoxPro for Windows 2.5a
- Microsoft FoxBASE+ for Macintosh 2.1
- Microsoft FoxPro for Macintosh 2.5b
This article was previously published under Q95250 SUMMARY
The DELETE command does not physically remove a record from the
database file. Instead, it places a flag on the record indicating that
the record has been deleted. The record can be retrieved by issuing
the RECALL command.
The PACK command physically removes deleted records from the file.
After the PACK command has been issued, deleted records cannot be
recalled. Using PACK requires exclusive use of the file.
In a multiuser environment, it may be difficult to obtain exclusive
use of the file for packing. If the file isn't packed, the amount of
disk space required to store deleted records will continue to grow. To
work around this problem, you can recycle deleted records by using the
technique illustrated below.
REFERENCES
Microsoft FoxPro "Commands & Functions," pages 134, 315, and 580
Modification Type: | Major | Last Reviewed: | 12/3/2003 |
---|
Keywords: | KB95250 |
---|
|