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

Recommended Posts

Posted

Hello. I understand what the Primiry Key is and can assume what is the Foreign Key. But, could someone explain what are the Alternate Keys, Compound Keys and Multi Line Keys in FileMaker relational database design?

Thank you very much!

FileMaker Version: 6

Platform: Windows 2000

Posted

Alternate keys are just other pieces of data you relate to. Example: if the primary key is a unique serial #, a alternate key could be something like hair color.

Compound Keys are when you combine two or more fields into one key. This gets around FM6 and earlier having relationships based on a single key (field). If you wanted to match everyone born in July who has red hair, you could combine the two like this: NumToText(Month(DOB)) & "_" & Haircolor.

Multi-Line keys allow you to match more than one set of data at a time. Multi-Line keys must be text. Example: you want to match everyone with either red or brown hair. The related file has a single color for each person. in the main file, the key would contain red on one line and brown on another. This technique is very powerful, you can make calculations on both ends to match almost any combination of data.

This is quicky, you may also want to read FileMaker's "21 Secrets of FileMaker Pro", a PDF somewhere on their site...

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