function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Maddy123Maddy123 

Using Custom fields while creating Lookup/Master-Deatil relationships

Hi,

    Can I use custom fields (more than one ) while creating relationship ( Master-Detail or Lookup) between two custom objects ?

Please  do reply if anybody has any solution ?

Thanks.

werewolfwerewolf
I don't understand what you mean.  You can have an object with a lookup or master-detail relationship and also some custom fields.  Is that what you're asking?  Or are you asking whether you can use custom fields in formulas from objects that are looking up to each other?
Maddy123Maddy123
Hi,
    Thanks for reply.

Actually I am asking about second part i.e. using custom fields in formulas from objects that are looking up to each other.

How can we use custom fields for lookup purpose ?


Thanks.
werewolfwerewolf
If you define a lookup relationship or a master-detail relationship, you can use fields from that related object in your formula fields.  Remember that formulas can only look up, i.e. to parent lookups or master details -- they can't look down to child objects.