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
Keeping dropdown list state
IIS administrator in Exchange Server
Outlook autodiscover popup issue - SBS 2008/Exchange 2007
Locked out of SBS 2008
Access subquery returning multiple records even when 'select top 1' is used
Plesk SSL issue in a domain.
Creating a word document programatically
error LNK2001: unresolved external symbol _CLSID_DccMan????
securing mdb file
Extract Outlook 2007 Journal Items and Attachments into Access 2007