I want to prevent duplicate entries to my inventory form using vb.net and MySQL as the database, here is my code:
Private Sub Button4_Click(ByVal sender As
There should be the way you:
1) write a Trigger before Insert, and check if there is any similar row exist. 2) Put Unique Index on columns