M
MeSteve
I am getting an error using:
=iif (isNull(DLookUp("ContactName","tbl_Contacts","ContactID = " &
DLookUp("ContactID","tbl_ContactProject","RoleID = 2 AND ProjectID = " &
[Forms]![frm_Projects]![ProjectID]))),"",DLookUp("ContactName","tbl_Contacts","ContactID
= " & DLookUp("ContactID","tbl_ContactProject","RoleID = 2 AND ProjectID = "
& [Forms]![frm_Projects]![ProjectID])))
I have also used =Nz(...),"") to no avail. I know there is no record that
matches.
How can I either A: troubleshoot this down to a fix, or B: fix the string to
work?
=iif (isNull(DLookUp("ContactName","tbl_Contacts","ContactID = " &
DLookUp("ContactID","tbl_ContactProject","RoleID = 2 AND ProjectID = " &
[Forms]![frm_Projects]![ProjectID]))),"",DLookUp("ContactName","tbl_Contacts","ContactID
= " & DLookUp("ContactID","tbl_ContactProject","RoleID = 2 AND ProjectID = "
& [Forms]![frm_Projects]![ProjectID])))
I have also used =Nz(...),"") to no avail. I know there is no record that
matches.
How can I either A: troubleshoot this down to a fix, or B: fix the string to
work?