Results 1 to 3 of 3
  1. #1
    fedyazar is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Mar 2013
    Posts
    5

    Question Error when trying to upload 5gb text file through 'Get external data'

    The title says it all. I have a 5gb tab-delimited text file that I want Access to upload. When I try, the Import Text Wizard says, simply, 'Bad file name or number.' I've tried splitting the file into chunks with Gsplit and uploading it piecemeal. That's giving a whole different set of errors.



    Any and all advice = many thanks and much appreciation.

    Fedyazar

  2. #2
    ssanfu is offline Master of Nothing
    Windows XP Access 2010 32bit
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    Access has a maximum file size of 2 GB minus overhead. Your text file is 5 GB. Hmmmm.


    You could try linking to the text file, then use queries to copy data you need from the text file to one or more tables.

    You could write VBA code to open the text file and read line by line, processing as required. Might (probably) take a lot of time.


    If you meed more space or you want to import more 5 GB files, SQL Express (free) can handle 10GB......

  3. #3
    Micron is offline Virtually Inert Person
    Windows 7 32bit Access 2007
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,803
    I believe the max db size for 2007 (and maybe all thereafter) is 2GB, so I think you will not import all of it using any approach. Did you consider linking to it as a table instead? You'd need to stay below the max field limit (255). Another approach might be to bust it up into Excel files and link to those as tables.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Code/function needed delete an external text file
    By Chris033115 in forum Programming
    Replies: 6
    Last Post: 03-31-2015, 02:09 PM
  2. Replies: 3
    Last Post: 08-13-2014, 10:44 AM
  3. Text File Upload Issue
    By shabar in forum Access
    Replies: 11
    Last Post: 01-30-2013, 06:35 AM
  4. External Batch Data Upload
    By RLJ in forum Import/Export Data
    Replies: 3
    Last Post: 01-28-2013, 07:52 AM
  5. Using data in external file for conditional processing
    By jkellygarrett in forum Import/Export Data
    Replies: 0
    Last Post: 09-17-2009, 01:01 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums