hi my name is james and i am rather new to access, i have managed to create a simple mini database but now i am wanting to search for records that are inputted here is my code below i would appreciate any help on this matter.
what i want it to do is bring a text box up and search the form and if no results are there for your search bring up an error message something along the lines of sorry no record found.
Code:
SELECT Juice_db.ID, Juice_db.Flavour_Name, Juice_db.Flavouring_1, Juice_db.Flavouring_2, Juice_db.Flavouring_3, Juice_db.Flavouring_4, Juice_db.Flavouring_5, [Flavour_Name]+[Flavouring_1]+[Flavouring_2]+[Flavouring_3]+[Flavouring_4]+[Flavouring_5] AS NewCol
FROM Juice_db
WHERE ((([Flavour_Name]+[Flavouring_1]+[Flavouring_2]+[Flavouring_3]+[Flavouring_4]+[Flavouring_5]) Like "*"+[What Would You Like To Search]+"*"));