importing a text file witnh european number formats

M

mtatlow

How do I import a text file that have number fields in European formats:
123.456,00


I can specify that a comma is the decimal separator using the Import/Export
specifications by there is not an option to specify that the “.†is the
thousands separator.
 
J

Jerry Whittle

I would import it into a text field.

Next I would run an update query to replace all the periods "." with nothing
"" using the Replace function.

Then I'd run another update query, again using the Replace function, to
replace the comma "," with a period ".".

Then you could use the Val function to convert the text string to an actual
number as needed.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top