Hi Bill,
I'm not certain, but previous experience suggests that Access's standard
import routines simply won't handle a file larger than 2 GB.
There are several ways of splitting up the file before importing, using
command-line utilities developed in the Unix world for managing data in
text files. In my experience, huge text files often contain a lot of
data that needn't be imported at all (e.g. you may only be interested in
some of the fields, or only in some of the records). They are also
usually not normalised, so can be broken down into separate related
files each of which is much smaller.
You can download Windows versions of the Unix text utilities from
http://unxutils.sourceforge.net/ . They include
- cut, which can extract specified fields from a file
- split, which splits large files into smaller ones (e.g. every 500,000
lines)
- grep and egrep, which can extract lines that meet certain criteria.
- sort and uniq, which together can get rid of duplicated lines.
For more information, go to Google advanced groups search and look for a
thread with the subject "Importing comma delimited text file" in
microsoft.public.access.externaldata on 18 Feb 2003.
>When I attempt to import a text file, I get the error message: "File
>'C:\Documents and Settings\Administrator\My Documents\SALESPROD2.TXT' does
[quoted text clipped - 10 lines]
>to have to buy and learn another database program because the report I'm
>working on is due in two days.)
--
John Nurick [Microsoft Access MVP]
Please respond in the newgroup and not by email.