G
Guest
I'm trying to create a recordset where the user can key in a few letters in
[Forms]![frmSearchName]![Text1] and it will search for values in the field
SUMMONS.SNAME. I've done similar with an '=', but seem to be having issues
with the 'Like'. Any advise???
Thank you,
Sash
Set recset = dbSummons.OpenRecordset("SELECT SUMMONS.SNAME FROM SUMMONS
WHERE SUMMONS.SNAME Like" & [Forms]![frmSearchName]![Text1].Value & "*",
dbOpenDynaset)
[Forms]![frmSearchName]![Text1] and it will search for values in the field
SUMMONS.SNAME. I've done similar with an '=', but seem to be having issues
with the 'Like'. Any advise???
Thank you,
Sash
Set recset = dbSummons.OpenRecordset("SELECT SUMMONS.SNAME FROM SUMMONS
WHERE SUMMONS.SNAME Like" & [Forms]![frmSearchName]![Text1].Value & "*",
dbOpenDynaset)