Skip to main content
I am getting confused trying to learn the Standard and Custom Objects part of the Admin cert.

 

Tell me if I am getting this right:

 

Master-Detail vs Lookup relationships pertain to FIELD relationships and Related Lists vs Lookup pertain to OBJECT relationships?

 

-Joe

 

 
5 respuestas
  1. Eric Praud (Activ8 Solar Energies) Forum Ambassador
    27 abr 2021, 12:27
    HI Joe,

     

    There is no such thing as a field relationship. There is something called Field dependency, but that is a different topic.

     

    Lookups and Master Details are types of fields. When you enter the name of a record in one of those fields, it creates a relationship between the record in the field (called the parent record) and the record that holds the field (or child record).

     

    For example, there is a lookup field to Account on the Contact object. If you create a Contact record, you enter the Account name in the Lookup field (the field is called "Account").

     

    The Account is the parent record and the Contact is the child record. Since one Account can have multiple Contacts, we talk about a one-to-many relationship (one being the Account, many being the Contacts).

     

    When navigating to the parent record (Account), you will see a related list called "Contacts" that will display all the contact records where their lookup field to Accounts was populated with the Account record that you're currently on.

     

    Now, since you can create relationships with either a lookup field or a master detail field, the relationship between the associated records itself is either called a lookup relationship or a master detail relationship, depending on which field type you used.

     

    I hope this helps you a little bit :)

     

     
0/9000