Microsoft
Software
Hardware
Network
Question : Import a TXT file with >255 fields into Access 2003
Hello all,
I am having an issue with a file I'm receiving from another external provider.
In a nutshell, I am getting a delimited text file with 288 fields and due to company policy I am being forced to work a solution to pull these files into Access 2003. Obviously the source db is not normalized and they are not willing to change their output file (I must also bring in historic files using this format).
I looked through another post where a person in a similar situation suggested using an import spec to break the file into two or more tables (which would allow me to normalize on my end)...the problem I'm having is that even calling the import specs in VBA I'm getting an error "too many fields" from access.
I've loaded one of the specs I'm trying to use where I identified each field and then skipped about half of them.
Am I doing this spec right?
Answer : Import a TXT file with >255 fields into Access 2003
Ok, you guys have the right idea, and simply have some issues with the code itself. Let me know if you run into any issues with the code above. BTW, IsValid is a function I use to see that the file exists in the location specified.
Leon
Random Solutions
visio and illustrator integration
Macro not available to button properties
debug 'stop' not executing
SQL 2008 Reports - One report but customize to each recepient?
Import and export rows in Access 2003?
Error on one line and not on the other
Date Format in Windows App
How to control tabs and supress run once page in IE7 via a GPO
web site does not load right without WWW / HTaccess file not working
Access VBA - exporting a table into a text file of a different format