Hello forum,
Hoping to get some direction on this.. I have a database that contains contact record information and also their skillset, (Java, VB, PeopleSoft, etc.) which is stored in a memo field, separated by commas. I've learned, thanks to this forum, how to search on keywords within that memo field, such as the following query:
SELECT FirstName, LastName, Skillset
FROM tbl_candidate
WHERE Skillset Like '*Java*'
This returns the correct data. However, I need it to search on multiple criteria keywords using the AND operator, and also set up parameters so that users can enter their criteria. Something like this:
SELECT FirstName, LastName, Skillset
FROM tbl_candidate
WHERE Skillset Like '*[Enter Criteria1]*'
AND Skillset Like '*[Enter Criteria2]*'
AND Skillset Like '*[Enter Criteria3]*'
This currently returns all rows in the database and does not prompt for criteria.. Can what I've explained be done? Any direction is greatly appreciated..
Thanks in advance..
Hoping to get some direction on this.. I have a database that contains contact record information and also their skillset, (Java, VB, PeopleSoft, etc.) which is stored in a memo field, separated by commas. I've learned, thanks to this forum, how to search on keywords within that memo field, such as the following query:
SELECT FirstName, LastName, Skillset
FROM tbl_candidate
WHERE Skillset Like '*Java*'
This returns the correct data. However, I need it to search on multiple criteria keywords using the AND operator, and also set up parameters so that users can enter their criteria. Something like this:
SELECT FirstName, LastName, Skillset
FROM tbl_candidate
WHERE Skillset Like '*[Enter Criteria1]*'
AND Skillset Like '*[Enter Criteria2]*'
AND Skillset Like '*[Enter Criteria3]*'
This currently returns all rows in the database and does not prompt for criteria.. Can what I've explained be done? Any direction is greatly appreciated..
Thanks in advance..