Mainframes and minicomputers often export data in the ASCII file format. When you import ASCII data, you often need to make some changes for Access to handle the data properly.
To import ASCII data into Access, follow these steps:
Open the database into which you want to import a table.
Right-click anywhere in the Database window and select Import from the context menu. The Import dialog box appears.
Select the folder where the ASCII file you want to import is located.
Select Text Files from the Files of Type drop-down list box.
Double-click the file you want to import. This launches the Import Text Wizard.
Select Delimited or Fixed Width, to designate the format of the file you want to import. Click Next.
Select or deselect First Row Contains Field Names, as appropriate, and then click Next.
Select In a New Table or In an Existing Table, as appropriate, and then click Next.
Type the field name in the Field Name text box.
Select whether you want Access to create an index for the field.
Repeat steps 10 and 11, as appropriate, and then click Next.
If your data has a column that is appropriate for the primary key, select Choose My Own Primary Key. Otherwise, select Let Access Add Primary Key.
If you opted to choose your own primary key, select from the drop-down box the field that you want Access to use as the primary key, and then click Next.
Type the table name in the Import to Table text box.
Click Finish and then click OK.
There are some important thing that you should be aware of when working with ASCII data. These notes can save you lots of time and effort in working with the imported data: