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
Microsoft sql2005 patches
Login returns to login screen
Formatting CString for rich edit control.
Auto Populate an unbound textbox on an unbound form
Question on Query Grouping
System.Web.Caching.Cache Error - Object not set to an instance of an object???
Word 07 - How do I remove the margins completely so that a tilte spreads across an entire A4 page?
Accessing Program files in Vista?
Set Axis value in Chart
Excel saves temp files rather than excel files