Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

Hi there,

I have a Table with about 5 fields in it, including one Serial Number field which just increments by 1. The one other unique ID field is the EU_ID field, which is a 9 digit unique number.

I have a script that imports data from Excel into this table. How can I set it so if a EU_ID already exists in the database, it can't be added again? I tried changing the EU_ID field to "Unique Value, Custom Message if Failed" and that didnt work. I am assuming it didnt work because that would only catch if the EU_ID was duplicated in the same Excel sheet.

Any ideas?

Thanks

Posted

When you import you can set to 'Update matching records in found set' - (making sure that you have Found all records before you start the import ) this will not create new records but merely update old existing ones.

If you cant live with the import updating the other data in already existing records, with that from the excell file, you'll need to make a dummy import table. Import the excell to the dummy, find and delete all the records you already have, and then make a second import from this to real Table.

Well this was way off - read comment's reply instead :)

This topic is 4862 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.