View Single Post
  #2  
Old February 3rd, 2010, 12:20 AM posted to microsoft.public.access.tablesdbdesign
Jeff Boyce
external usenet poster
 
Posts: 8,621
Default Importing Tab Delimited Text File to an Existing Table in Access

Rita

Often, the safer approach to import is to import data into a "temporary"
table, one you reserve for importing the data to.

Then you can run a series of queries the parse that raw import data into the
proper, well-normalized Access tables.

The problem with a lot of raw import tab delimited text file "data" is that
it is NOT well-normalized. If you're going to get the best use of Access
features/functions, you need to feed it data it works with best.

Regards

Jeff Boyce
Microsoft Access MVP

--
Disclaimer: This author may have received products and services mentioned
in this post. Mention and/or description of a product or service herein
does not constitute endorsement thereof.

Any code or pseudocode included in this post is offered "as is", with no
guarantee as to suitability.

You can thank the FTC of the USA for making this disclaimer
possible/necessary.

"Rita Brasher" wrote in message
...
Office 2007, just upgraded from 2000 ( OMGOODNESS!! What a flippin'
NIGHTMARE!!)


I am simply trying to import a tab delimited text file into an existing
table in Access. In Office 2000, I was given an opportunity to change the
data type of columns to be imported during the import process itself. In
2007, I am not given an option and end up with import errors for every
single row of data (over 1.5 million rows) because it reads a text field
of numbers as a number datatype. I can find no documentation on how to
solve my problem as Microsoft only provides information for importing
Excel files. Having well over a million rows, I cannot maintain the data
in an Excel file.


Thanks in advance for any help you can provide.

Rita Brasher
Project Engineer
FedEx Express


PS Here I thought I wasn't as productive as I could be because I was
behind on Office revisions. That was a joke!! Would maintaining a
semblance of similarity have been too much to ask??? If the simplest of
functions are going to all become difficult, I may have to go back to
2000.