Hi Everyone,
My issue is confusing enough to make a title for, let alone explain, so please be patient with me.
I have a search form, that is comprised of a number of text boxes. Like many search forms, I want one to type in a name to recieve results from my query. I have just realized that when I add any criteria to my query to filter my records, they end up not detecting some records (they no longer appear in the query result that should show all records). Further more, these records that are not appearing are ones that don't have any information in the field that the criteria is designed to filter.
Have any of you ever come across this before?
I originally thought this was an AND or OR issue, but it's occuring with only one criteria!! SOS!
SQL for query:
SELECT
tblWHO.FarmName,
tblWHO.FarmCivicAddress,
tblWHO.FarmCommunity,
tblWHO.VERIFIED,
tblWHO.Phone1C1,
tblWHO.Phone2C1,
tblWHO.Email,
tblWHO.Website,
tblWHO.Facebook,
tblWHO.Notes,
tblWHO.FarmerID,
tblContacts.FirstName1,
tblContacts.LastName1,
tblWHO.Municipality_WHO
FROM tblWHO LEFT JOIN tblContacts ON tblWHO.FarmerID = tblContacts.FarmerContactID
WHERE (((tblWHO.FarmCommunity) Like "*" & [Forms]![MainSearchForm]![txtcommunity] & "*"));
Wesley