Microsoft Access - Dlookup with multiple criteria from different tables
问题 I have 2 tables in my DB. One called Manufacture and the other Product. The Manufacture table has 2 fields: Number Name The Product table has 3 fields: Number Name Manufacture_Number What I want is When I create a new product, it shows me if the product already exists. I'm currently using this code: DLookup("[Name]", "Product", "[Name] = '" & me.txtName.value & "'") It works just fine, but once happened that a product with the same name but different manufacture. I could not create a record