Hi, I have some code that runs through and pulls out a value from a table based on the following code
I am however getting a bug on the WHERE clause, and I beleive that its due to the use of _ in the Quality_&_Food_Safety. Is this the cause?
And if so, is there a way around it?
Code:
SELECT tbl_Users.UserId FROM tbl_Users INNER JOIN tbl_Secondary_Location ON tbl_Users.Department = tbl_Secondary_Location.LocationID WHERE ((tbl_Secondary_Location.Quality_&_Food_Safety = -1) AND (tbl_Users.Role = 'Manager'));
I am however getting a bug on the WHERE clause, and I beleive that its due to the use of _ in the Quality_&_Food_Safety. Is this the cause?
And if so, is there a way around it?