Hi,
I have csv file that I imported into the Access. It imports each column however the problem is that each piece of date is preceeded and ended with " ". For example "John"
would be how the first name is imported when I need it as John. The number of characters per cell will always vary. Is it possible in a query to remove the ""?
Thanks,
Leesha
Remove Quote Marks
-
- Administrator
- Posts: 78474
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: Remove Quote Marks
When you import a text file into Access, you can specify whether the " acts as text qualifier:
After the fact, you can correct it by replacing " with nothing in the Replace dialog, or by using something like
NoQuotes: Replace([FieldName], """", "")
in a query.
After the fact, you can correct it by replacing " with nothing in the Replace dialog, or by using something like
NoQuotes: Replace([FieldName], """", "")
in a query.
You do not have the required permissions to view the files attached to this post.
Best wishes,
Hans
Hans
-
- BronzeLounger
- Posts: 1488
- Joined: 05 Feb 2010, 22:25
Re: Remove Quote Marks
Awesome! Thanks Hans!
Leesha
Leesha