I have a very simple question . . . This is the first time I have tried to do a DLookup. I have a field CustomerNumber. When the value is entered, I want to make sure this is not a duplicate number in a table LastCustomer. I have been trying to make this work as an AfterUpdate code, but so far it won't work. Could someone give me the code for this? Thank you.