Jump to content

How to avoid Importing data into a text field being converted into a number


This topic is 2988 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hello,

I have data to import into a text field from excel or csv files. As samples, I have :

978.510
978.510.21

These are reference numbers. They should not be changed. The problem comes with the first sample as fm converts it into a number. It removes the last zero and change the dot to a coma (local culture info). The field is declared as text, indexed, not null and unique.

978.510      => 978,51           -   not ok
978.510.21 => 978.510.21    -   ok

 

Thanks.

 

Link to comment
Share on other sites

Excel will be the problem here, when it exports file's as CSV it converts things it thinks are numbers into numbers, and no amount of tweaking on the FileMaker side will fix this. Importing directly from Excel format, rather than converting to CSV has helped me in these situations.

Link to comment
Share on other sites

This topic is 2988 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.