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.

Importing unique ID numbers

Featured Replies

Hi again,

I have an Excel file that I import data from into my DB. One of the fields, called "SIID" has been set up in the data-base as a unique value field, with a custom message appearing if a value is entered that is not unique. It works fine if the SIID is entered right into FMP, the warning pops up "You have already entered....".

An import from Excel however does not catch this. I was able to import the same SIID 3-4 times. Any way around this?

Thanks

You could try using the 'Update matching records in found set' and the 'Add remaining data as new records' options during import. I don't think that you'll get duplicate SIID's but you will over-write the current data for any matching records.

If that's not what you want, then I think you'll need to import it all and then do something else to find and the duplicates. This could be a Find using "!" in the SIID field, or using a self join relationship based on SIID.

One of the fields, called "SIID" has been set up in the data-base as a unique value field

In the validation settings, select 'Always' instead of 'Only during data entry'.

What do you want to happen when there are duplicates?

As comment notes, you can prevent the records from importing...but you won't know which ones failed. To do that you'd have to import them into a temporary table first to see which SIIDs exist.

  • Author

Thanks guys, that does 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.