I'm importing text files that are comma-delimited. Unfortunately, the software that creates these files drops 2 extra commas in at the end of each line. This throws off my import and Access sees a "No Name" field there.
What's the best way to delete these commas? Is there an RTrim that'll read in the text file and delete the last 2 characters of each line?
I'm using "DoCmd.TransferText acImportDelim..." to load these texts into tables.
Here's an example of a line:
800.55,0,Alpha.450,1,Open,,
Those last 2 commas need to come out of every line in the text file.
What's the best way to delete these commas? Is there an RTrim that'll read in the text file and delete the last 2 characters of each line?
I'm using "DoCmd.TransferText acImportDelim..." to load these texts into tables.
Here's an example of a line:
800.55,0,Alpha.450,1,Open,,
Those last 2 commas need to come out of every line in the text file.