re:
Allan, if you get this message, somewhere in this code, i want to return the original value of apples back into it's textbox on the form should a duplicate be found. Just after the msgbox i put something like apples = (DLookup("[myapples]", "RECORDS", "[myapples]='" & Me.apples & "'")) but...