Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

help with validation in tables 1

Status
Not open for further replies.

stavro

Technical User
Oct 16, 2008
4
GB
how do I combine data from field 1 (names) field 2 (dates of birth) to show duplicate entries when both fields are duplicated
 
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")
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top