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
Mike McGeoyMike McGeoy 

Bogus error message trying to convert Lookup to Master-Detail

Am I crazy or what!
I have a custom object called "POC" that was originally created with a Lookup relationship to Opportunities.  I want to change the relationship to a Master-Detail and get the standard: "You must first create a Lookup relationship, populate the loookup field with data in all records, and then change the relationship type to Master-Detail."

So I run a report and guess what?  All Records in the custom object have values in the Lookup field already!  So why am I getting this particular error?  The funny thing is that I was able to make this change in my Sandbox (albeit with less records.)

Any help is greatly appreciated!
Mike


 
Mike McGeoyMike McGeoy
So turns out I was mistaken... when I went through the long list of records there was a sneaky little oneat the bottom of the list that escaped me!  fixed it and now field type change worked.  Sometimes this can be a frustrating job, butg I really do love it!