Check duplicate entry if exist for two field during insert
Hello
I have a data insert page where before inserting the data to the table need to cross check of two fields data whether it is existing in the table or not, (Like UserID & ItemID) if not exist then it should insert othewise it will report an error that entry is duplicating. Could not figure it out, pls help.