What is the method for preventing duplicate entries?

Welcome back to the community, @meaf! Maybe this post discussed previously should help you solve your issue: