Use button to copy text to a reference field

Use button to copy text to a reference field for a search. I do not want to retype the data to a reference field for look up purposes