Is there a way to prevent more than one item with the same reference?

Hi!
Is there a way to prevent more than one item from being created with the same reference?
Example:

  • Schema Student:
    code (int)
    name (string)

  • Schema Result
    value (int)
    student (reference to schema Student)

I would like to prevent more than one result from being created for the same student.

You mean when you use the “Add New” button?

Perhaps a reference is not the right structure for you? But no, it is not possible.

Yes using the “Add New”.
I thought I could do this using scripting, but I looked through the documentation and couldn’t find anything similar.

No, it is not possible.