Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

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

Featured Replies

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.

 

I don't think Filemaker does that. I certainly cannot reproduce the problem using .csv as the source. When you import directly from Excel, the result may be affected by the way the cell is formatted in the source document.

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.

  • Author

The problem was effectively coming from Excel. Now it is working. Thank you for your help.

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.