Importing Text Files Into An Ms Access Database

| Total Words: 388

In some of the MS Access databases that you develop, there may be a need to import data from text files, also referred to as ASCII files or flat files. Let’s look at the menu methods available to you.

Under the File menu, there is an entry named “Get External Data”, and then “Import…”. The extra “…” indicates that when you choose that entry, a dialogue box will appear on the screen to ask you for further details.

The next step is to change the “Files of type:” entry to show “Text Files (*.txt;*.csv;*.tab;*.asc)”. A good habit is to always use the .txt extension for text files. Thus, they will appear under that choice and you can quickly look for the file you want to import.

Generally speaking, your text files should either have their “fields” separated by a delimiter (usually a comma or a tab, but can also be a space, semicolon, or any other chosen character), or they may be in fixed widths where each field always takes the exact same space in each record.

Let’s look at the delimited style first. The fields will be automatically sensed by Access as per the...

To view and download this full PLR article, you must be logged in. Registration is completely free. Once you create your account, you will be able to browse, search & downlod from our PLR articles database of over "1,57,897+" on 1,000's of niches and 200+ categories without paying a penny. Click here to signup...

** PLR to VIDEO: Create Awesome Videos From PLR Articles... FAST!...