make relate field/quick search show reference number, not name

Hi, I am trying to use a relate field to populate other fields on the page.

This works fine, except I want to be able to type in a reference number and it be selected rather than name, otherwise it doesn’t work in the way that I need it to.

How do I do this?

Hi! Have you ever figure this out? Thanks!