Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

ACC2000: Text Import Wizard Allows Only One Field for Primary Key


View products that this article applies to.

This article was previously published under Q208422
Moderate: Requires basic macro, coding, and interoperability skills.

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

↑ Back to the top


Symptoms

When you import a text file, one of the options in the Import Text Wizard is the Choose my own primary key option. However, this option allows you to select only one field for a primary key.

↑ Back to the top


Resolution

If you need a multiple-key index, select the No primary key option when you use the Import Text Wizard. After the import is completed, open the table in Design view, select the fields that you want for your primary key, and then click the Primary Key button on the Table Design toolbar.

↑ Back to the top


References

For more information about importing data, click Microsoft Access Help on the Help menu, type import data in the Office Assistant or the Answer Wizard, and then click Search to view the topic.

↑ Back to the top


Keywords: KB208422, kbusage, kbprb

↑ Back to the top

Article Info
Article ID : 208422
Revision : 2
Created on : 6/30/2004
Published on : 6/30/2004
Exists online : False
Views : 284