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
ALTER TABLE / ALTER COLUMN QUESTION???
Intercept the "You must enter a value in the "FormName.FieldName' field." error message...
Determine the closest word in the list.
Exchage Error SPAM question.
One hyperlink that passes parameters to two inline frames
Word 2007 - Hyperlinks to Outlook Blocked
architecture question
Why Can't I find "TypeOf" in Microsoft's Access Help files.
Operator '=' is not defined for type 'DBNull' and type 'Integer'.
How can I display the calendar pop-up in Excel 2007/