Is [DdSchedId] a boolean field or an actual number (ID)? The Dlookup would return the actual ID not True. If you want to check if there is a SheduleID for a MatterID you would do: If DCount("*","DdSchedules", "[MatterId] = " & Me.MatterIdFld) >0 AND ... Then