Cannot create reference

Can someone tell me why I can’t make the Student Id a reference to the Students collection? The Course Id is exactly the same and yet I can create a reference to the Courses collection.


When I do set it as a refence, everything goes blank. If I select a record, an untitled object shows. The data is still there since if I switch it back to text, it shows up again.


Thank you for any help you can give me.

It’s because the Primary Field in the Students collection is blank.

Thank you. I have an .NET background and we always had a primary key for each table that was unique. This is quite different. From what I read, it still uses a numeric primary key in the background but the one the developer creates doesn’t have to be unique.

@jsmoritz It really refers to the _id of the Students collection. The primary field is just for the sake of the data manager display,