Filemaker Pro 9 (55) Flashcards

1
Q

This set entered on 5-12-2014
5.2.14.2

  1. p 321. JOIN TABLES. What is a MANY TO MANY RELATIONSHIP?
A

Your database tracks payments from customers. A CUSTOMER can send a check to cover TWO INVOICES, or to cover JUST PART OF AN INVOICE So an INVOICE can have MULTIPLE PAYMENTS, and a PAYMENT CAN BE FOR MULTIPLE INVOICES: MANY TO MANY.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
  1. How do you create a MANY TO MANY RELATIONSHIP?
A

You must CREATE A JOIN TABLE.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
  1. What is a JOIN TABLE?
A

A JOIN TABLE does not usually REPRESENT A REAL ENTITY. Instead, EACH RECORD REPRESENTS A RELATIONSHIP BETWEEN TWO RECORDS IN THE RELATED TABLES.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
  1. How does a JOIN TABLE facilitate a MANY TO MANY RELATIONSHIP?
A

In the INVOICE/PAYMENT example, the JOIN TABLE holds FOREIGN KEYS for INVOICE NUMBER and PAYMENT ID.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
  1. p 322. If you want to attach a PAYMENT TO AN INVOICE, you:
A

ADD a new RECORD IN THE JOIN TABLE, with the CORRECT INVOICE NUMBER and PAYMENT ID. Remember that the JOIN TABLE holds only TWO FIELDS in this example: FOREIGN KEY for INVOICE ID, and a FOREIGN KEY for PAYMENT ID.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
  1. P 322. What happens once the RECORD is added to the JOIN TABLE?
A

The PAYMENT and INVOICE are properly connected IN BOTH DIRECTIONS. Since you can add AS MANY RECORDS as you want to the join TABLE, you can flexibly RELATE multiple INVOICES and PAYMENTS.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly