The information in this article applies to:
This article applies only to a Microsoft Access database (.mdb). Moderate: Requires basic macro, coding, and interoperability skills. SYMPTOMSIf you choose a unique field when you link a dBASE table, the index contains only records that are unique with respect to the given index expression. For example, a .dbf file may contain "n" records, while the unique index may contain "m" entries, where "n" does not equal "m." This means that when the database is viewed by a UNIQUE index, it may appear to have fewer records then it actually does. CAUSEThere is no concept of primary indexes in dBASE prior to version 7. Up to version 6, all indexes are taken as secondary indexes. The dBASE command SET UNIQUE ON limits only which records are displayed. Access, however, presently does not support dBASE later than version 6. RESOLUTIONYou can resolve this issue by one of the following three methods:
MORE INFORMATION
The following example illustrates the concept.
The index is created on the Company Name field. If the Unique setting is
on in dBASE, only 2 records are displayed (the 1st and 3rd).
The field that is designated as unique allows you to enter duplicate information. However, when you query the file, the duplicate information does not show. The following table outlines what versions of dBASE Access 2000 can link to:
REFERENCESFor more information about linking to dBASE files, click Microsoft Access Help on the
Help menu, type link dbase files in the Office Assistant or
the Answer Wizard, and then click Search to view the topic. Q230125 ACC2000: Using dBASE Data with Access 2000 and JetThe third-party products discussed here are manufactured by vendors independent of Microsoft; we make no warranty, implied or otherwise, regarding these products' performance or reliability. Additional query words: Fox attach prb
Keywords : kb3rdparty kbdta IsmXbase |
Last Reviewed: September 20, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |