bluelake367
Programmer
I'm new to this and never been able to get this to work. I have a text box for a search. Where I want a user to search for their request by their name -- but I want to allow them to put only a partial name or just their last name, not to be a literal string search match.
So using the simple RecordQuery form, if I set it up with the filter on the RequestedBy field it gives me this.
SELECT *
FROM MAC
WHERE RequestedBy = 'MMColParam'
What would have to be the SQL to say, give me anything that matches the string that is passed from the form.
The search form is a Get method (I'm using ASP) and the form name is "SearchName" and the form text box is "RequestedBy" So I have the parts but can't figure out how to get them together. Anyone shed some light? What the heck is MMColParam, anyways?
So using the simple RecordQuery form, if I set it up with the filter on the RequestedBy field it gives me this.
SELECT *
FROM MAC
WHERE RequestedBy = 'MMColParam'
What would have to be the SQL to say, give me anything that matches the string that is passed from the form.
The search form is a Get method (I'm using ASP) and the form name is "SearchName" and the form text box is "RequestedBy" So I have the parts but can't figure out how to get them together. Anyone shed some light? What the heck is MMColParam, anyways?