the search is running fine,however a new record is being created in the DB by the search criteria which i give in the fields in the original form.
below is the code,
strCriteria = "[Agent Name] = '" & Me.[Agent Name] & "' "
strCriteria = strCriteria & "AND [DetailDate] = #" & [DetailDate] - 1 & "#"