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

Recommended Posts

Posted

FMP tries to indicate the cardinality of a relationship using a straight line or "crows foot" up to the TO. But there is another that shows up occasionally that I cannot find any references to! I wondered if there was anyone out there that could point me to one or more places to find out what it is meant to represent.

I'll attach a jpeg to illustrate.

ForumExample.gif

Posted (edited)

IMHO, it means that the relationship only works in one direction.

Maybe a better way to put it: there are no "related records" at the end marked with the "T".

Edited by Guest
Posted

Not sure about this since I didn't test all possibilities, but...

Straight line: When the field is defined as Auto-Enter or Validate Unique.

T or Pipe: When field is defined as global or unstored.

Crow's feet: Everything else

No connection between the lines and how many related records there actually are.

Posted

No, I meant the graph says "there will be no 'related records' on this side, no matter what you do". In graphical terms: if you follow this line, you will get to a roadblock.

Posted (edited)

I agree with Comment. Another way to look at it is, on that side, the record is a UNIQUE key hence "no other record in that side of the table will have a duplicate of the key field." for instance, if you looked at that column, there will be one and only one occurence of each value. this can either be the primary key field or another field that can be used as a primary key field. A primary key field is a field that can be used to uniquely identify a row and in filemaker terms, a record.

http://en.wikipedia.org/wiki/Candidate_key

http://en.wikipedia.org/wiki/Primary_key

ROW = RECORD

COLUMN = FIELD

Edited by Guest
Posted

I agree with comment too. And with Leland when he says Filemaker "tries to indicate" the cardinality. In the case of the T, it's likely 100% accurate. In the cases of the crow's feet and the direct line, it's more a strong suggestion of what should be happening.

Frex, a person unwise in the way of keys can force a field FM thinks is a primary key to have duplicates.

Posted

I believe indexing is also related to those. I remember -Queue- once demonstrated how relationships with a straight line were faster than crow's feet - unfortunately, that thread was on a forum that doesn't exist any more.

Posted

the record is a UNIQUE key hence "no other record in that side of the table will have a duplicate of the key field

This doesn't actually appear to be correct. If you make a relationship with a calculation field (I call it 'Match All') on each side and set these fields to both contain 1 then the relationship will show with the straight line.

Changing that calculation to 'Unstored' on one of the fields changes the relationship graph symbol to -|. So this does not accord with your statement.

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