PC Review


Reply
Thread Tools Rate Thread

importing a text file witnh european number formats

 
 
mtatlow
Guest
Posts: n/a
 
      5th Nov 2009
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.

 
Reply With Quote
 
 
 
 
Jerry Whittle
Guest
Posts: n/a
 
      6th Nov 2009
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.
--
Jerry Whittle, Microsoft Access MVP
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.


"mtatlow" wrote:

> 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.
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting European number formats Sarah H. Microsoft Excel Programming 7 6th Sep 2010 12:18 AM
Read both US and European Formats =?Utf-8?B?TUZJTkU=?= Microsoft Excel Misc 0 17th Aug 2007 02:00 AM
Why do I get European date formats to choose from in my template? =?Utf-8?B?UGVnVw==?= Microsoft Word Document Management 1 30th Dec 2005 11:37 AM
European date formats =?Utf-8?B?bHlubmllbWlsYW5v?= Microsoft Excel Worksheet Functions 1 13th Sep 2005 05:47 PM
How can I get Excel (Office2002) to default to "Western European" when importing a Text file? (that Excel has just saved!) ship Microsoft Excel Discussion 2 12th Aug 2005 02:46 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:02 AM.