Microsoft KB Archive/208956

= ACC2000: Duplicate Records in dBASE IV File Appear to Be Missing =

Article ID: 208956

Article Last Modified on 6/24/2004

-

APPLIES TO


 * Microsoft Access 2000 Standard Edition

-



This article was previously published under Q208956



Moderate: Requires basic macro, coding, and interoperability skills.

This article applies only to a Microsoft Access database (.mdb).



SYMPTOMS
If you create a link to a dBASE IV file without selecting an index file, some of the data in the dBASE IV file may appear to be missing when you open the linked table in Datasheet view.



CAUSE
You may be using a dBASE IV index file whose Display First Duplicate Key Only setting is turned on. This dBASE IV setting causes records with duplicate primary key values to be hidden.



RESOLUTION
Make sure that you specify an index that displays all records in dBASE IV, and make sure that you select the appropriate index file when you link the dBASE IV file in Microsoft Access.



MORE INFORMATION
When you link a dBASE IV file, you are prompted to select an index file. If you do not select an index file, Microsoft Access selects one for you. When Microsoft Access selects an index file for you, it first looks for an index file with the same name as the data file that you are linking. If it cannot find such a file, Microsoft Access looks for the most recently created or the most recently changed index file.

When you let Microsoft Access select the index file for you, you are taking a chance that Access will select an index file whose Display First Duplicate Key Only setting is turned on. If Access selects such an index file, any record in the data file with a duplicate primary key value will be hidden automatically.

After a primary index file is selected, the only way to use a different index is to delete the link in Microsoft Access, and then to relink the table.

dBASE IV is manufactured by Borland International, Inc., a vendor independent of Microsoft; we make no warranty, implied or otherwise, regarding this product's performance or reliability.

