Data supplied in tab delimited text file. Unfortunately there are more than 255 columns in the text file and can't directly import into an MS Access table (max 255 columns). Now trying to parse the text file (using VBA) to remove unwanted columns - idea being that once below 255 columns I can load into table. I'm okay with parsing on tab character, chr(9), but I've hit problem if data record contains comma character. VBA INPUT verb appears to consider comma to be a variable delimiter.
Does anyone know a method to read in tab delimited text file so that each record is a single variable regardless of content?
I've got one idea and that's to first import the file into table comprising one memo field. Then I can parse the data records on that table but was hoping to find a method to process the text file directly and not have intermediate table.
Any thoughts appreciated.
Does anyone know a method to read in tab delimited text file so that each record is a single variable regardless of content?
I've got one idea and that's to first import the file into table comprising one memo field. Then I can parse the data records on that table but was hoping to find a method to process the text file directly and not have intermediate table.
Any thoughts appreciated.