maverickmonster
Programmer
Hi this is my first SQL query I have tried to make in access never used SQL before and i have a problem.
im trying to search thought the Helpfile form for keywords and open them up,
eg search for 'Upload' and the results would find 'Uploading','upload files' etc
This is my code i think there is a problem with the ors
Also i have txtsearch in this formula how do i reference this to a form and a field
im trying to search thought the Helpfile form for keywords and open them up,
eg search for 'Upload' and the results would find 'Uploading','upload files' etc
This is my code i think there is a problem with the ors
Also i have txtsearch in this formula how do i reference this to a form and a field
Code:
SELECT * FROM Helpfile WHERE (keywords Like 'txtsearch%')
OR (keywords Like '%txtsearch%')
OR (keywords Like '%txtsearch')
SELECT Helpfile.HN, Helpfile.Keywords, Helpfile.HelpInfo, Helpfile.Group, Helpfile.SubGroup
FROM Helpfile;