Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

trouble with importing csv file with two delimiters

Status
Not open for further replies.

hlmnsbuggy

Technical User
Joined
Mar 25, 2002
Messages
72
Location
US
good afternoon

I have a .csv file that was sent to us by an outside entity. I'm trying to import, but with problems. There are two delimiters (~ and ,) to separate the fields as below

~01~,~TX~,~2~,~23~,~23~,~000~,

import wizard only have one selection,How shall I import the csv to access. Please help

Ann
 
From your example, it seems to me that ~ (tilde) can be used for the text qualifier, if you can accept all fields being imported as text. Alternatively, you can use the Open statement to read text files.
 
thank Remou for your quick reply, but if I use ~ as text qualifier, I don't see this option in Access import wizard, only " ' {none}, what shall I do?

 
I got it, I just type ~ in, that solve the problem,

Thank you
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top