I have a form with a part number text box that stores data in a table (tblInventory). I want to take the input from the part number text box, lookup in another table (tblXref) that has three columns, NewPartNo, OldPartNo and UnitofMeasure. The user can enter either the NewPartNo or OldPartNo, but I want to always want to return the NewPartNo to the form. If possible, I would like to populate another input box on the form with the UnitofMeasure associated with the part number. Also, I would like to give an error message if the part number doesn't exist. Can someone help me with the code to do this? Thanks, Paul!!