Oct 16, 2008 #1 stavro Technical User Joined Oct 16, 2008 Messages 4 Location GB how do I combine data from field 1 (names) field 2 (dates of birth) to show duplicate entries when both fields are duplicated
how do I combine data from field 1 (names) field 2 (dates of birth) to show duplicate entries when both fields are duplicated
Oct 16, 2008 1 #2 Remou Technical User Joined Sep 30, 2002 Messages 13,030 Location BE Do you mean you wish to look up whether the fields are duplicated? If so, here is an example of one method: Code: SomeFieldVar=Nz(DlookUp("SomeFieldNameHere","TableNameHere","DOBFieldName=#" _ & Me.DOBControlName & "# AND NameFieldName='" & Me.NameControlName & "'"),"Not matched") Upvote 0 Downvote
Do you mean you wish to look up whether the fields are duplicated? If so, here is an example of one method: Code: SomeFieldVar=Nz(DlookUp("SomeFieldNameHere","TableNameHere","DOBFieldName=#" _ & Me.DOBControlName & "# AND NameFieldName='" & Me.NameControlName & "'"),"Not matched")