ISAM INSERT with Duplicate Key Incorrectly Allocates Record (62460)
The information in this article applies to:
- Microsoft Basic Professional Development System for MS-DOS 7.0
- Microsoft Basic Professional Development System for MS-DOS 7.1
This article was previously published under Q62460 SYMPTOMS
When you specify a unique key with CREATEINDEX using Microsoft Basic
Professional Development System (PDS) version 7.00 ISAM, inserting
records with duplicate keys causes a trappable error (run-time error
86). However, the ISAM engine still inserts one record into the ISAM
file per attempt to insert a duplicate key record. The records
inserted with the duplicate keys are marked as deleted. The Basic
function LOF, which returns the total number of records in a Basic PDS
7.00 ISAM file, will show the actual number of successful writes to
the file, showing that the records written with duplicate keys are not
valid. Since these records are marked as deleted, using the ISAMPACK
utility will remove the records and reduce the file to its appropriate
size.
STATUS
Microsoft has confirmed this to be a bug in Microsoft Basic
Professional Development System (PDS) versions 7.00 and 7.10 for
MS-DOS. We are researching this problem and will post new information
here as it becomes available.
Modification Type: | Minor | Last Reviewed: | 8/16/2005 |
---|
Keywords: | KB62460 |
---|
|