E elmop2005 New member Local time Today, 10:43 Joined Feb 9, 2012 Messages 8 Feb 16, 2012 #1 what would the basic syntax be to check for duplicates in a form. the field that need to be checked is called ProductID
what would the basic syntax be to check for duplicates in a form. the field that need to be checked is called ProductID
John Big Booty AWF VIP Local time Tomorrow, 03:43 Joined Aug 29, 2005 Messages 8,262 Feb 16, 2012 #2 Try; Code: If DCount ( "ProductID", YourTable", "ProductID = " & Me.ProductID) > 1 Then MsgBox "This current record is a Duplicate" End If
Try; Code: If DCount ( "ProductID", YourTable", "ProductID = " & Me.ProductID) > 1 Then MsgBox "This current record is a Duplicate" End If