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 7079 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have used FileMaker for years now and have developed a complex relational database for storing data on my plant DNA collection which I use for research purposes.

So far, things have worked, but I want to clean-up the database and make it more streamlined. This has caused me to re-address a couple of relationship issues!

For example, I have a small table containing the plant name, each plant name has a unique numeric identifier - PlantID (automatically generated by Filemaker). This identifier is used to link to my DNA table, so that I can see layouts that include the plant name. The plant name is not stored in the DNA table only the PlantID is stored.

OK, so when I add a new DNA sample, I can use a drop-down list to show the full plant name, along with the PlantID. When I select the required plant name, the PlantID is stored.

However, I want to be able to use a drop-dwon list that does not show the PlantID, but that will store it in the DNA table, thereby preserving the relationship.

Any ideas?

Charlie

Posted

This is one of the features in the new version 8.

You can implement a workaround - if you're 100% sure that plant names are unique. If so, you can select the plant name from a value list of names, and have the ID field lookup the ID from a relationship based on plant name alone.

Posted

Thank-you,

However, a relationships based on PlantName may not work, because plant names, although unique can change. What I would like is to be able to modify the plant name in the Plant Name table without changing the PlantID.

I remember working in Access that a value list could be set for a particular field / relationship, but display values from another field without showing the actual linking field.

Posted

You can still change the plant name, because all your basic relationships, based on IDs, remain unchanged. The relationship based on name is used only for selection, and the correct ID is immediately looked up.

Another option is to use a script that opens a new window with a list view of plants and pauses. You click on the plant you want, which resumes the script. The script then takes the ID and stores it in the originating record.

As I said, the Access-like feature has been implemented in Filemaker 8 - not before.

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