I have a form with a field called 'parent' which takes a number from the 'parentID' field of the table called 'tblParents.' On this form, I have a field called 'Street' which is a text box. In this textbox, I want to use a DLOOKUP as a way to import the street address from 'tblParents'. The lookup value would be the field on the current form called 'parent.'
Here is the code as it appears inside of the textbox field, which is bound to a field called 'Street.' So I am saying, the value in this textbox named 'Street' should be equal to the value of the DLOOKUP. What is wrong with my code?
=[Street]=DLookUp("street1","tblParents","parentID=" & [parent])