I am using a dialog box that takes one address entry and searches three fields for matching records. I want to be able to let the user enter only part of a street name and/or number and get back records that he could manually look at for the correct record. For Example, to find 67 DANIELS RD the user could enter 67 or 67 DAN or DAN. Here is the SQL I've tried so far but I get far too many hits. I'm using Access 97.
WHERE ((([Customer Information by Account Number].Owner_addr_1) Like '*' & [Forms]![Search Dialog]![OwnerAddress1])) & '*' OR ((([Customer Information by Account Number].Owner_addr_2) Like '*' & [Forms]![Search Dialog]![OwnerAddress1])) & '*'OR ((([Customer Information by Account Number].House_nbr) Like '*' & [Forms]![Search Dialog]![OwnerAddress1]) AND (([House_nbr] & " " & [StreetName])=[Forms]![Search Dialog]![OwnerAddress1]))&'*';
WHERE ((([Customer Information by Account Number].Owner_addr_1) Like '*' & [Forms]![Search Dialog]![OwnerAddress1])) & '*' OR ((([Customer Information by Account Number].Owner_addr_2) Like '*' & [Forms]![Search Dialog]![OwnerAddress1])) & '*'OR ((([Customer Information by Account Number].House_nbr) Like '*' & [Forms]![Search Dialog]![OwnerAddress1]) AND (([House_nbr] & " " & [StreetName])=[Forms]![Search Dialog]![OwnerAddress1]))&'*';