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

Importing data into file with relationships


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

Recommended Posts

  • Newbies
Posted

I have two lab databases - a database of all strains currently in our lab ("lab db"), and a database of all strains that exist ("all db"). I've set up a relationship such that entering a strain name into "lab db" automatically enters information from "all db" into three different fields (call them A, B, and C). However, I need to import a file from our old db, and find that when I do, all information already entered in the A, B and C fields of the old db is lost upon import into the "lab db." [ie. if there is a match to a strain in "all db", then the info in fields A, B, and C is replaced. If there is no match, then fields A, B, and C are blank]. If I disable the relationship, then import, all is fine. But if I activate the relationship again, I lose the data in the related fields. Is there a way to prevent existing data from being over-written by data from lookups, short of creating two fields each for A, B, and C (which would clutter up my db)? Any suggestions would be greatly appreciated!

Posted

If the fields are created with Lookup values based on a relationship, when you import records FileMaker asks wheter or not you want to "Perform auto-enter options while importing". If this is checked the values from "all db" should populate your fields A, B, C. However, you can force them to be updated at any time by creating a simple script. First 'go to' the field used as the relationship key, then use the command "Relookup Field Contents". This will refresh any data in A, B, C based on the relationship to "all db"

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