Take the 2-minute tour ×
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It's 100% free, no registration required.

I have a custom object called Sports, where I have a master-detail relationship with Contacts. I would like to build a formula field on Sports that references a field on the contact (specifically, gender). When I go to build the formula field, I do not have Contact as an option. Is there something special I need to do to make that available?

Any help will be greatly appreciated.

Thank you.

share|improve this question
add comment

1 Answer 1

up vote 3 down vote accepted

You should just be able to do something like Contact__r.Gender__c right in your formula field, assuming the name of the master-detail relationship is Contact__c

share|improve this answer
    
That worked perfect!! Thank you for your help. –  user2569499 Feb 5 at 15:50
1  
You can find Contact__r and other related fields if you switch to the "Advanced Formula" tab in the formula editor. –  James Loghry Feb 5 at 16:11
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.