I don't follow, sir.
For example, I have a query that goes like this:
PARAMETERS [Enter Service Name] Text ( 255 );
SELECT DISTINCTROW tblService.ServiceID, tblService.SupervisingOfficer, tblService.ServiceName, tblService.ServiceType, tblService.Attn, tblService.LiaisonOfficer, tblService.Copy1, tblService.Copy2, tblService.Team, tblService.Comments, tblPhone.Telephone, tblPhone.Fax, tblPhone.Liaison, tblPhone.LiaisonExtension, tblAddress.AddressLine1, tblAddress.AddressLine2, tblAddress.City, tblAddress.Province, tblAddress.PostalCode
FROM (((tblService INNER JOIN tblAddress ON tblService.ServiceID = tblAddress.ServiceID) INNER JOIN tblPhone ON tblService.ServiceID = tblPhone.ServiceID)
WHERE (((InStr([tblService].[ServiceName],[Enter Service Name]))<>False));
This query returns the EXACT same results as if I run this one:
SELECT DISTINCTROW tblService.ServiceID, tblService.SupervisingOfficer, tblService.ServiceName, tblService.ServiceType, tblService.Attn, tblService.LiaisonOfficer, tblService.Copy1, tblService.Copy2, tblService.Team, tblService.Comments, tblPhone.Telephone, tblPhone.Fax, tblPhone.Liaison, tblPhone.LiaisonExtension, tblAddress.AddressLine1, tblAddress.AddressLine2, tblAddress.City, tblAddress.Province, tblAddress.PostalCode
FROM (((tblService INNER JOIN tblAddress ON tblService.ServiceID = tblAddress.ServiceID) INNER JOIN tblPhone ON tblService.ServiceID = tblPhone.ServiceID)
WHERE ((([tblService].[ServiceName]) Like "*" & [Enter Service Name] & "*"));
So, what I am wondering is, which, if either, is the better route to go? I am searching thus for a record based on the parameter value being in the string of the field. It *seems* more elegant to use the instr function, but I am wondering about performance, missed data, etc.
Please pardon my ignorance; it is limitless