Can't Directly Delete a Record from a Basic Random Access File (50946)
The information in this article applies to:
- Microsoft GW-BASIC 3.2
- Microsoft GW-BASIC 3.22
- Microsoft GW-BASIC 3.23
- Microsoft GW-BASIC 5.28
- Microsoft QuickBASIC 4.0
- Microsoft QuickBASIC 4.0b
- Microsoft QuickBASIC 4.5
- Microsoft BASIC Compiler for MS-DOS and OS/2 6.0
- Microsoft BASIC Compiler for MS-DOS and OS/2 6.0b
- Microsoft Basic Professional Development System (PDS) for MS-DOS and MS OS/2 7.0
This article was previously published under Q50946 SUMMARY
You cannot directly delete a record from a Basic random access file to
make the file size decrease. This is a DOS and OS/2 operating system
limitation for the random access method. You can, however, work around
this in several different ways as explained below.
This information applies to GW-Basic Versions 3.20, 3.22, and 3.23 for
MS-DOS; to Microsoft Basic Interpreter Version 5.28 for MS-DOS; to
Microsoft QuickBasic Versions 1.00, 1.01, 1.02, 2.00, 2.01, 3.00,
4.00, 4.00b, and 4.50 for MS-DOS; to Microsoft Basic Compiler Versions
5.35 and 5.36 for MS-DOS and Versions 6.00, and 6.00b for MS-DOS and
MS OS/2; and to Microsoft Basic PDS 7.00 for MS-DOS and MS OS/2.
Modification Type: | Minor | Last Reviewed: | 8/16/2005 |
---|
Keywords: | KB50946 |
---|
|