christophercubitt
Technical User
- Dec 17, 2010
- 9
Private Sub Contact_ID_Exit(Cancel As Integer)
Company_Name = DLookup("CompanyName", "Contacts", "[Contact_ID] = " & Contact_ID)
End Sub
I am getting the DLookUp to work, but its returning the first result in the table. My code is above. how do I make it more specific to access the Company Name of the Contact ID entered on the form?