• Waseem Pasha 4
  • NEWBIE
  • 0 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 2
    Replies
Hi All,

I have two custom objects like Student__c(Detail) and Batch__c(Master). I had created lookup field for Batch__c on Student__c and added some records. But now i want to change lookup field as master detail.

For that i have populated the lookup field with data in all records of Student__c and trying to change the relationship type to Master-Details.
but still getting same error like " You cannot create a new Master-Detail relationship on an existing custom object if records already exist. You must first create a Lookup relationship, populate the lookup field with data in all records, and then change the relationship type to Master-Detail. "

Please post the appropriate answer..

Thank you.
Nani.