hi,
I'm trying to combine two fields with a keyword but it ignores any keywords in the keywords field.
sSQL="SELECT JobTable.ID, CompanyTable.ID, JobTable.CompanyID, CompanyTable.Company, JobTable.industry, JobTable.Jobtitle, JobTable.region, JobTable.Jobdescription"
sSQL=sSQL & " FROM JobTable"
sSQL=sSQL & " RIGHT JOIN CompanyTable"
sSQL=sSQL & " ON CompanyTable.ID = JobTable.CompanyID"
sSQl=sSQL & " WHERE region='" & varregion & "'"
sSQL=sSQL & " AND industry='" & varindustry & "'"
sSQl=sSQL & " AND Jobdescription LIKE '%" & varJobtitle & "%'"
sSQL=sSQL & " ORDER BY JobTable.Jobtitle;"
oRS2.open sSQL, "DSN=50on"
can anyone help,
thanks
Gavin
I'm trying to combine two fields with a keyword but it ignores any keywords in the keywords field.
sSQL="SELECT JobTable.ID, CompanyTable.ID, JobTable.CompanyID, CompanyTable.Company, JobTable.industry, JobTable.Jobtitle, JobTable.region, JobTable.Jobdescription"
sSQL=sSQL & " FROM JobTable"
sSQL=sSQL & " RIGHT JOIN CompanyTable"
sSQL=sSQL & " ON CompanyTable.ID = JobTable.CompanyID"
sSQl=sSQL & " WHERE region='" & varregion & "'"
sSQL=sSQL & " AND industry='" & varindustry & "'"
sSQl=sSQL & " AND Jobdescription LIKE '%" & varJobtitle & "%'"
sSQL=sSQL & " ORDER BY JobTable.Jobtitle;"
oRS2.open sSQL, "DSN=50on"
can anyone help,
thanks
Gavin