Is there an alternative to DLookup? I seem to remember reading somewhere that DLookup was antiquated and that newer versions of Access have a new way of doing the same thing.
Also, can DLookup's use variables? I have the following but it doesn't work because there is more than one field on the form called ProjectID (same field from two different tables).
=DLookUp("[ProjectName]","tblProject","[ProjectID] = " & " frmAddTenants.ProjectID"
Also, can DLookup's use variables? I have the following but it doesn't work because there is more than one field on the form called ProjectID (same field from two different tables).
=DLookUp("[ProjectName]","tblProject","[ProjectID] = " & " frmAddTenants.ProjectID"