I am trying to set up a wildcard search into a field from XL97 to Access97, using DAO 3.5 The code is something like this:<br><br>Dim CritStr as string<br>Dims etc<br>...<br><br>' trying to find station name Portland<br>' using this fragment of name supplied by user<br>CritStr = "ort"<br>...<br><br>Set DB1 = database etc.<br>Set RS1 = DB1.OpenRecordset(Name:="SELECT lngStnID, " & _<br> "strCountry, strStation, " & _<br> "sngLatitude, sngLongitude " & _<br> "FROM tblDataStations " & _<br> "WHERE [strStation] = Like "*" & CritStr & "*" " & _<br> "ORDER BY tblJones_Stns.lngStnID", _<br> Type:=dbOpenDynaset)<br><br>I have tried many other WHERE lines with no success. The like operator does not seem to work using an XL to Access parameter query either.<br><br>Can anyone help please?<br><br><br>Thanks<br>Alan