ACC: Duplicate Records in dBASE IV File Missing

Last reviewed: June 3, 1997
Article ID: Q120130
The information in this article applies to:
  • Microsoft Access versions 2.0, 7.0, 97

SYMPTOMS

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

If you link (attach) 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.

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 to specify an index in dBASE IV that displays all records, and make sure to select the appropriate index file when you link a dBASE IV file in Microsoft Access.

If the index file and all records are selected correctly, then look for more information on the ISAM settings in the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q95388
   TITLE     : ACC: dBASE SET DELETED Characteristic 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 you are linking. If it cannot find such a file, Microsoft Access then looks for the most recently created or changed index file.

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

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

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.

REFERENCES

For more information about attaching dBASE IV files, search the Help Index for "dBASE files," or ask the Microsoft Access 97 Office Assistant.


Keywords : IntpOthr IsmXbase kbinterop
Version : 2.0 7.0 97
Platform : WINDOWS
Hardware : X86
Issue type : kbprb
Resolution Type : Info_Provided


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: June 3, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.